command
Version:
v0.0.0-...-43c8ab9
Opens a new window with list of versions in this module.
Published: Feb 14, 2023
License: Apache-2.0
Opens a new window with license information.
Imports: 17
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.