|
|
|
|
LEADER |
00000cam a22000007a 4500 |
001 |
OR_on1372368643 |
003 |
OCoLC |
005 |
20231017213018.0 |
006 |
m d |
007 |
cr ||||||||||| |
008 |
230319s2023 xx o 000 0 eng d |
040 |
|
|
|a YDX
|b eng
|c YDX
|d ORMDA
|d EBLCP
|d OCLCF
|d IEEEE
|d OCLCO
|
019 |
|
|
|a 1372397854
|
020 |
|
|
|a 180461369X
|q (electronic bk.)
|
020 |
|
|
|a 9781804613696
|q (electronic bk.)
|
035 |
|
|
|a (OCoLC)1372368643
|z (OCoLC)1372397854
|
037 |
|
|
|a 9781804611654
|b O'Reilly Media
|
037 |
|
|
|a 10162711
|b IEEE
|
050 |
|
4 |
|a QA76.76.A65
|
082 |
0 |
4 |
|a 005.3
|2 23/eng/20230328
|
049 |
|
|
|a UAMI
|
100 |
1 |
|
|a Montagnino, Marian,
|e author.
|
245 |
1 |
0 |
|a BUILDING MODERN CLI APPLICATIONS IN GO
|h [electronic resource] :
|b develop next-level CLIs to improve user experience, increase platform usage, and maximize production /
|c Marian Montagnino.
|
250 |
|
|
|a 1st edition.
|
260 |
|
|
|a [S.l.] :
|b PACKT PUBLISHING LIMITED,
|c 2023.
|
300 |
|
|
|a 1 online resource
|
520 |
|
|
|a Evolve the humble CLI using Go and unleash the next generation of powerful, flexible, and empathy-driven interfaces Purchase of the print or Kindle book includes a free PDF eBook Key Features Discover how Go enables the development of elegant and intuitive CLIs Explore a range of CLI development aspects and pick up a vast array of best practices Create engaging and user-friendly interfaces and learn how to distribute them Book Description Although graphical user interfaces (GUIs) are intuitive and user-friendly, nothing beats a command-line interface (CLI) when it comes to productivity. Many organizations settle for a GUI without searching for alternatives that offer better accessibility and functionality. If this describes your organization, then pick up this book and get them to rethink that decision. Building Modern CLI Applications in Go will help you achieve an interface that rivals a GUI in elegance yet surpasses it in high-performance execution. Through its practical, step-by-step approach, you'll learn everything you need to harness the power and simplicity of the Go language to build CLI applications that revolutionize the way you work. After a primer on CLI standards and Go, you'll be launched into tool design and proper framework use for true development proficiency. The book then moves on to all things CLI, helping you master everything from arguments and flags to errors and API calls. Later, you'll dive into the nuances of empathic development so that you can ensure the best UX possible, before you finish up with build tags, cross-compilation, and container-based distribution. By the end of this UX book, you'll be fully equipped to take the performance and flexibility of your organization's applications to the next level. What you will learn Master the Go code structure, testing, and other essentials Add a colorful dashboard to your CLI using engaging ASCII banners Use Cobra, Viper, and other frameworks to give your CLI an edge Handle inputs, API commands, errors, and timeouts like a pro Target builds for specific platforms the right way using build tags Build with empathy, using easy bug submission and traceback Containerize, distribute, and publish your CLIs quickly and easily Who this book is for This book is for beginner- and intermediate-level Golang developers who take an interest in developing CLIs and enjoy learning by doing. You'll need an understanding of basic Golang programming concepts, but will require no prior knowledge of CLI design and development. This book helps you join a community of CLI developers and distribute within the popular Homebrew package management tool.
|
505 |
0 |
|
|a 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
|
505 |
8 |
|
|a 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
|
505 |
8 |
|
|a 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
|
505 |
8 |
|
|a Cobra -- a library for building modern CLI applications -- Creating subcommands -- Global, local, and required flags -- Intelligent suggestions -- Automatically generated help and man pages -- Powering your CLI -- Viper -- easy configuration for CLIs -- Configuration types -- Watching for live config changes -- Basic calculator CLI using Cobra and Viper -- The Cobra CLI commands -- The Viper configuration -- Running the basic calculator -- Summary -- Questions -- Answers -- Further reading -- Part 2: The Ins and Outs of a CLI -- Chapter 5: Defining the Command-Line Process
|
505 |
8 |
|
|a Technical requirements -- Receiving the input and user interaction -- Defining subcommands, arguments, and flags -- Piping -- Signals and control characters -- User interaction -- Processing data -- Returning the resulting output and defining best practices -- Summary -- Questions -- Answers -- Further reading -- Chapter 6: Calling External Processes and Handling Errors and Timeouts -- Technical requirements -- Calling external processes -- The os/exec package -- Creating commands using the Cmd struct -- Running the command -- Interacting with REST APIs -- Get request -- Pagination
|
590 |
|
|
|a O'Reilly
|b O'Reilly Online Learning: Academic/Public Library Edition
|
650 |
|
0 |
|a Application software
|x Development.
|
650 |
|
0 |
|a Go (Computer program language)
|
650 |
|
6 |
|a Logiciels d'application
|x Développement.
|
650 |
|
6 |
|a Go (Langage de programmation)
|
650 |
|
7 |
|a Application software
|x Development
|2 fast
|
650 |
|
7 |
|a Go (Computer program language)
|2 fast
|
776 |
0 |
8 |
|i Print version:
|a Montagnino, Marian
|t Building Modern CLI Applications in Go
|d Birmingham : Packt Publishing, Limited,c2023
|
856 |
4 |
0 |
|u https://learning.oreilly.com/library/view/~/9781804611654/?ar
|z Texto completo (Requiere registro previo con correo institucional)
|
938 |
|
|
|a YBP Library Services
|b YANK
|n 304672164
|
938 |
|
|
|a ProQuest Ebook Central
|b EBLB
|n EBL30406672
|
994 |
|
|
|a 92
|b IZTAP
|