Powerful Command-Line Applications in Go

Build Fast and Maintainable Tools



Bookstore > Books > Powerful Command-Line Applications in Go

Price$41.41 - $44.17
Rating
AuthorRicardo Gerardi
PublisherThe Pragmatic Programmers
Published2021
Pages508
LanguageEnglish
FormatPaper book / ebook (PDF)
ISBN-10168050696X
ISBN-139781680506969
EBook Hardcover Paperback

Write your own fast, reliable, and cross-platform command-line tools with the Go programming language. Go might be the fastest - and perhaps the most fun - way to automate tasks, analyze data, parse logs, talk to network services, or address other systems requirements. Create all kinds of command-line tools that work with files, connect to services, and manage external processes, all while using tests and benchmarks to ensure your programs are fast and correct.

Go is a modern programming language that combines the reliability of compiled languages with the ease of use and flexibility of dynamic typed languages. With Go, you can develop cross-platform command-line tools that are fast and reliable. Work through practical examples to develop elegant and efficient tools by applying Go's rich standard library, its built-in support for concurrency, and its expressive syntax. Use Go's integrated testing capabilities to automatically test your tools, ensuring they work reliably, even across code refactoring.

Develop CLI tools that interact with your users by using common input/output patterns, including environment variables and flags. Handle files to read or persist data, and manipulate paths consistently in cross-platform scenarios. Control processes and handle signals, and use a benchmark-driven approach and Go's concurrency primitives to create tools that perform well. Use powerful external libraries such as Cobra to create modern and flexible tools that handle subcommands, and develop tools that interact with databases, APIs, and network services. Finally, leverage what you learned by tackling additional challenges at the end of each chapter.




5 5 25

Similar Books


Build Awesome Command-Line Applications in Ruby 2

Build Awesome Command-Line Applications in Ruby 2

by David B. Copeland

Speak directly to your system. With its simple commands, flags, and parameters, a well-formed command-line application is the quickest way to automate a backup, a build, or a deployment and simplify your life. With this book, you'll learn specific ways to write command-line applications that are easy to use, deploy, and maintain, usi...

Price:  $30.00  |  Publisher:  The Pragmatic Programmers  |  Release:  2013

Efficient Linux at the Command Line

Efficient Linux at the Command Line

by Daniel J. Barrett

Take your Linux skills to the next level! Whether you're a system administrator, software developer, site reliability engineer, or enthusiastic hobbyist, this practical, hands-on book will help you work faster, smarter, and more efficiently. You'll learn how to create and run complex commands that solve real business problems, p...

Price:  $37.10  |  Publisher:  O'Reilly Media  |  Release:  2022

Build Awesome Command-Line Applications in Ruby

Build Awesome Command-Line Applications in Ruby

by David B. Copeland

As Ruby pro David Copeland explains, writing a command-line application that is self-documenting, robust, adaptable and forever useful is easier than you might think. Ruby is particularly suited to this task, since it combines high-level abstractions with "close to the metal" system interaction wrapped up in a concise, r...

Price:  $12.11  |  Publisher:  The Pragmatic Programmers  |  Release:  2012

Command Line Fundamentals

Command Line Fundamentals

by Vivek N

The most basic interface to a computer - the command line - remains the most flexible and powerful way of processing data and performing and automating various day-to-day tasks.Command Line Fundamentals begins by exploring the basics, and then focuses on the most common tool, the Bash shell (which is standard on all Linux and iOS systems)...

Price:  $34.99  |  Publisher:  Packt Publishing  |  Release:  2018

Programming in Go

Programming in Go

by Mark Summerfield

Today's most exciting new programming language, Go, is designed from the ground up to help you easily leverage all the power of today's multicore hardware. With this guide, pioneering Go programmer Mark Summerfield shows how to write code that takes full advantage of Go's breakthrough features and idioms.Both a tutorial and...

Price:  $8.17  |  Publisher:  Addison-Wesley  |  Release:  2012

Go Machine Learning Projects

Go Machine Learning Projects

by Xuanyi Chew

Go is the perfect language for machine learning; it helps to clearly describe complex algorithms, and also helps developers to understand how to run efficient optimized code. This book will teach you how to implement machine learning in Go to make programs that are easy to deploy and code that is not only easy to understand and debug, but...

Price:  $44.88  |  Publisher:  Packt Publishing  |  Release:  2018

Data Science at the Command Line

Data Science at the Command Line

by Jeroen Janssens

This hands-on guide demonstrates how the flexibility of the command line can help you become a more efficient and productive data scientist. You'll learn how to combine small, yet powerful, command-line tools to quickly obtain, scrub, explore, and model your data.To get you started - whether you're on Windows, OS X, or Linux - a...

Price:  $7.67  |  Publisher:  O'Reilly Media  |  Release:  2014

Data Science at the Command Line, 2nd Edition

Data Science at the Command Line, 2nd Edition

by Jeroen Janssens

This thoroughly revised guide demonstrates how the flexibility of the command line can help you become a more efficient and productive data scientist. You'll learn how to combine small yet powerful command-line tools to quickly obtain, scrub, explore, and model your data. To get you started, author Jeroen Janssens provides a Docker i...

Price:  $54.85  |  Publisher:  O'Reilly Media  |  Release:  2021