Documentation
¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type OptionParser ¶
type OptionParser struct {
// contains filtered or unexported fields
}
func (*OptionParser) CreateManPage ¶
func (p *OptionParser) CreateManPage() string
func (*OptionParser) Parse ¶
func (p *OptionParser) Parse() (Options, error)
type Options ¶
type Options struct {
Default bool `long:"default" description:"Load the default menu to get to know Hotshell"`
File string `short:"f" long:"file" description:"Specify an alternate definition file (default: ./hs.js)" value-name:"FILE"`
GenerateDemo bool `long:"generate-demo" description:"Generate an interactive HTML demo to stdout"`
GenerateMd bool `long:"generate-md" description:"Generate a markdown documentation of the menu to stdout"`
Version bool `short:"v" long:"version" description:"Print version information and quit"`
}
Click to show internal directories.
Click to hide internal directories.