Skip to content

Chapter 20. A Command-Line Parser

Many programs begin the same way: they read command-line arguments, decide what the user requested, then execute an operation.

SectionTitle
1A Command-Line Parser
2A File Copier
3A Line Filter
4A Tiny HTTP Client
5A Static Library
6Testing Strategy
7Benchmarking
8demo
9Where to Go From Here
10Appendix A. Zig Syntax Summary