Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
View Source
var NBLCommands map[string]*NBLcommand
Functions ¶
func PrepareCmd ¶
func PrepareCmd(cmd *NBLcommand) error
func PrintDefaults ¶
Types ¶
type NBLcommand ¶
type NBLcommand struct { UpgradeTerm bool WelcomeMsg bool InitProviders bool Help string Sec SCType // Call func(*NBLcommand) (int, error) Stdin io.ReadCloser Stdout io.WriteCloser // contains filtered or unexported fields }
func (*NBLcommand) CommandLine ¶
func (n *NBLcommand) CommandLine() *flag.FlagSet
Click to show internal directories.
Click to hide internal directories.