package
0.0.0-20240101053555-73320c06f0a0
Repository: https://github.com/kart-io/kart.git
Documentation: pkg.go.dev
# Functions
FormatBaseName is formatted as an executable file name under different operating systems according to the given name.
No description provided by the author
InitFlags normalizes, parses, then logs the command line flags.
No description provided by the author
No description provided by the author
PrintFlags logs the flags in the flagset.
WarnWordSepNormalizeFunc changes and warns for flags that contain "_" separators.
WithCommandOptions sets the command options.
WithCommandRunFunc sets the command run function.
WithDescription is used to set the description of the application.
No description provided by the author
WithOptions returns a function that calls each Option in Options.
WithRunFunc returns a function that calls each RunFunc in RunFuncs.
WordSepNormalizeFunc changes all flags that contain "_" separators.
# Interfaces
No description provided by the author
# Type aliases
CommandOption defines optional parameters for initializing the command structure.
Option defines optional parameters for initializing the application structure.
RunCommandFunc defines the application's command startup callback function.
RunFunc defines the application's startup callback function.