command
Version:
v0.0.6
Opens a new window with list of versions in this module.
Published: Jan 20, 2026
License: MIT
Opens a new window with license information.
Imports: 6
Opens a new window with list of imports.
Imported by: 0
Opens a new window with list of known importers.
README
¶
Example
This directory contains a runnable example that demonstrates:
- registering flags and positional args
- reading values from environment variables
- documenting env-only variables
- generating formatted usage output
Run the example and view the generated usage:
go run . -h
Try setting environment variables before running:
EXAMPLEAPP_PORT=8080 EXAMPLEAPP_ADDR=127.0.0.1 go run . serve
Documentation
¶
There is no documentation for this package.
Source Files
¶
Click to show internal directories.
Click to hide internal directories.