flag (flag)
standard libraryPackage flag implements command-line flag parsing.
exec (os/exec)
standard libraryPackage exec runs external commands.
Package cobra is a commander providing a simple interface to create powerful modern CLI interfaces.
Package cli provides a minimal framework for creating and organizing command line Go applications.
Package flags provides an extensive command line option parser.
Package clientcmd provides one stop shopping for building a working client from a fixed config, from a .kubeconfig file, from command line flags, or from any merged combination.
Package genericclioptions contains flags which can be added to your command, bound, completed, and produce useful helper functions.
Package opts defines a struct-tag based API for rapidly building command-line interfaces.
Package promptui is a library providing a simple interface to create command-line prompts for go.
Package version is a convenience utility that provides SDK consumers with a ready-to-use version command that produces apps versioning information based on flags passed at compile time.
Package kong aims to support arbitrarily complex command-line structures with as little developer effort as possible.
Package color is command line color library.
Package server contains the plumbing to create kubernetes-like API server command.
Package liner implements a simple command line editor, inspired by linenoise (https://github.com/antirez/linenoise/).
kubectl (k8s.io/kubernetes/pkg/kubectl)
GO-2022-0617Package kubectl provides the functions used by the kubectl command line tool under k8s.io/kubernetes/cmd.
Package exec provides an injectable interface and implementations for running commands.
Package utils contains internal helper functions for go-ethereum commands.
Package arg parses command line arguments using the fields from a struct.
Package getopt (v2) provides traditional getopt processing for implementing commands that use traditional command lines.
Package cli provides a minimal framework for creating and organizing command line Go applications.
Package cli provides the template for adding new cfssl commands
Package cli provides a minimal framework for creating and organizing command line Go applications.