command
Version:
v0.0.0-...-6312d78
Opens a new window with list of versions in this module.
Published: Oct 16, 2025
License: Apache-2.0
Opens a new window with license information.
Imports: 16
Opens a new window with list of imports.
Imported by: 0
Opens a new window with list of known importers.
README
¶

Usage of gousage
gousage is a utility for generating a go source code file containing the
usage information for command packages.
gousage can be applied to multiple packages and will generate its output for
each package in that package's directory.
For example, the following will generate cmdusage.go files for every main
package found in ./...
go run cloudeng.io/go/cmd/`gousage` --overwrite ./...
Command line flags
-go-output string
name of generated go file. (default "cmdusage.go")
-overwrite
overwrite existing file.
Documentation
¶
Usage of gousage:
gousage is a utility for generating a go source code file containing
the usage information for command packages.
gousage can be applied to multiple packages and will generate its output
for each package in that package's directory.
For example, the following will generate cmdusage.go files for every
main package found in ./...
go run cloudeng.io/go/cmd/gousage --overwrite ./...
Command line flags:
-go-output string
name of generated go file. (default "cmdusage.go")
-overwrite
overwrite existing file.
Source Files
¶
Click to show internal directories.
Click to hide internal directories.