package
2.0.2
Repository: https://github.com/datadrake/cli-ng.git
Documentation: pkg.go.dev

# Functions

ExampleRun prints the usage for the requested command.
GenerateRootPage generates a man-page for the root command.
GenerateSubPage generates a man-page for a single subcommand.
GenerateSubPages generates a man-page for every subcommand.
GenManPagesRun prints the usage for the requested command.
GenSingleLinksRun prints the usage for the requested command.
HelpRun prints the usage for the requested command.
HiddenRun prints the usage for the requested command.
PrintFlags writes out the flags in a struct.
Register a subcommand for the current root command.
VersionRun prints the version and optional copyright for a command.

# Variables

Example fulfills the "example" subcommand.
GenManPages fulfills the "gen-man-pages" subcommand.
GenSingleLinks fulfills the "gen-single-links" subcommand.
Help fulfills the "help" subcommand.
Hidden fulfills the "hidden" subcommand.
Version fulfills the "hidden" subcommand.

# Structs

ExampleArgs contains the arguments for the "example" subcommand.
ExampleFlags contains the additional flags for the "example" subcommand.
GenSingleLinksArgs specifies the output path for the links.
HelpArgs contains the arguments for the "help" subcommand.
Root is the main command that supports multiple Sub commands.
Sub is a type for all commands.