package cmd
import "github.com/posener/complete/cmd"
Package cmd used for command line options for the complete tool
Index ¶
Types ¶
type CLI ¶
type CLI struct { Name string InstallName string UninstallName string // contains filtered or unexported fields }
CLI for command line
func (*CLI) AddFlags ¶
AddFlags adds the CLI flags to the flag set. If flags is nil, the default command line flags will be taken. Pass non-empty strings as installName and uninstallName to override the default flag names.
func (*CLI) Run ¶
Run is used when running complete in command line mode. this is used when the complete is not completing words, but to install it or uninstall it.
Source Files ¶
Directories ¶
Path | Synopsis |
---|---|
cmd/install |
- Version
- v1.2.3 (latest)
- Published
- Oct 23, 2019
- Platform
- linux/amd64
- Imports
- 6 packages
- Last checked
- 1 month ago –
Tools for package owners.