Building modern CLI applications in Go develop next-level CLIs to improve user experience, increase platform usage, and maximize production
Intro -- Preface -- Title Page -- Copyright -- Dedication -- Contributors -- Table of Contents -- Part 1: Getting Started with a Solid Foundation -- Chapter 1: Understanding CLI Standards -- A brief introduction and history of the command line -- About the history -- Introducing the CLI -- The philo...
Gespeichert in:
1. Verfasser: | |
---|---|
Format: | Elektronisch E-Book |
Sprache: | English |
Veröffentlicht: |
Birmingham ; Mumbai
Packt Publishing, Limited
[2023]
|
Schlagworte: | |
Online-Zugang: | DE-573 DE-860 DE-706 URL des Erstveröffentlichers |
Tags: |
Tag hinzufügen
Keine Tags, Fügen Sie den ersten Tag hinzu!
|
Zusammenfassung: | Intro -- Preface -- Title Page -- Copyright -- Dedication -- Contributors -- Table of Contents -- Part 1: Getting Started with a Solid Foundation -- Chapter 1: Understanding CLI Standards -- A brief introduction and history of the command line -- About the history -- Introducing the CLI -- The philosophy of CLI development -- Checklist for a successful CLI -- The guidelines -- Name -- Help and documentation -- Input -- Output -- Configuration -- Security -- Open source community -- Software lifespan and robustness -- Go for CLIs -- Summary -- Questions -- Answers -- Further reading -- Chapter 2: Structuring Go Code for CLI Applications -- Technical requirements -- Commonly used program layouts for robust applications -- Program layouts -- Common folders -- Determining use cases and requirements -- Use cases -- Requirements -- Disadvantages and benefits of use cases and requirements -- Use cases, diagrams, and requirements for a CLI -- Requirements for a metadata CLI -- Structuring an audio metadata CLI application -- Bounded context -- Language -- Entities and value objects -- Aggregation -- Service -- Events -- Repository -- Creating the structure -- Summary -- Questions -- Answers -- Further reading -- Chapter 3: Building an Audio Metadata CLI -- Technical requirements -- Defining the components -- cmd/ -- cmd/api/ -- cmd/cli/ -- cmd/cli/command -- extractors/ -- extractors/tags -- extractors/transcript -- internal/interfaces -- models/ -- services/metadata -- storage/ -- vendor/ -- Implementing use cases -- Uploading audio -- Requesting metadata -- Testing a CLI -- Manual testing -- Testing and mocking -- Summary -- Questions -- Answers -- Chapter 4: Popular Frameworks for Building CLIs -- Technical requirements -- Cobra - a library for building modern CLI applications -- Creating subcommands -- Global, local, and required flags. |
---|---|
Beschreibung: | Description based on publisher supplied metadata and other sources 1st edition - Cover |
Beschreibung: | 1 Online-Ressource (xxi, 383 Seiten) Illustrationen, Diagramme |
ISBN: | 9781804613696 180461369X |