Читать книгу Practical Go - Amit Saha - Страница 50
CHAPTER 2 Advanced Command-Line Applications
ОглавлениеIn this chapter, you will learn how to use the flag
package to implement command-line applications with sub-commands. Then, you will see how you can enforce predictable behavior in your command-line applications using contexts. Finally, you will learn how to combine contexts and handling operating system signals in your application. Let's jump in.