Documentation
¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
Functions ¶
func Execute ¶
func Execute()
Execute adds all child commands to the root command and sets flags appropriately. This is called by main.main(). It only needs to happen once to the rootCmd.
Types ¶
type FortuneRequest ¶
type FortuneRequest struct {
AllMaxims, ShowCookieFile, PrintListOfFiles bool
LongDictumsOnly, ShortOnly, IgnoreCase bool
Wait, ConsiderAllEqual, Offensive bool
Match string
LongestShort int
Paths []fortune.ProbabilityPath
OffensivePaths []fortune.ProbabilityPath
}
Source Files
¶
- fortune.go
- root.go
- strfile.go
Click to show internal directories.
Click to hide internal directories.