diff options
| author | Eugene Triguba <hello@eugenetriguba.com> | 2026-11-14 10:42:01 -0800 |
|---|---|---|
| committer | Eugene Triguba <hello@eugenetriguba.com> | 2026-11-14 10:42:01 -0800 |
| commit | a522e0c8bdcebd64ff79c6d442b7a068867c4f18 (patch) | |
| tree | 7c54d468b49cab85165e623d7cfae5dc94c60bfc | |
| parent | Release v0.6.0 (diff) | |
| download | subcmd-main.zip | |
Diffstat (limited to '')
| -rw-r--r-- | README.md | 5 |
1 files changed, 2 insertions, 3 deletions
@@ -11,11 +11,10 @@ There are more full-featured CLI libraries for Go, like [cobra](https://github.com/spf13/cobra). If you need more complex features, those would be a better solution. -subcmd is a lightweight wrapper around Go's standard library `flag` package. -The entire implementation is a single file with zero production dependencies. +`subcmd` is a lightweight wrapper around Go's standard library `flag` package. It provides subcommand registration and execution, built-in help and flag listing commands, and command groups for organization. Because it wraps -`flag.FlagSet`, you use the standard library APIs you already know. +`flag.FlagSet`, you use the regular standard library APIs. ## Installation |