Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func CreateAliasArgs ¶
providedArgs: Arguments provided to the command, minus the command name itself aliasTargetStr: The command string provided, specifying what to alias to.
May include special characters to specify arguments provided to the alias. By default, extra args are placed at the end of the alias.
Alias target special strings are: $1,$2... - Insert a positional argument here. $R - Insert remaining unused arguments here.
Types ¶
type ParsedArgs ¶
func ClassifyArgs ¶
func ClassifyArgs(args []string) ParsedArgs
Returns unknown args, positional args
Click to show internal directories.
Click to hide internal directories.