argparse v1.0.0 (2022-06-09T18:44:25Z)
Dub
Repo
Complete.Init
argparse
completer
Complete
Undocumented in source.
struct
Complete
(COMMAND)
@
Command
("init").
Description
("Print initialization script for shell completion.").
ShortDescription
("Print initialization script.")
struct
Init {
@
MutuallyExclusive
@
NamedArgument
.
Description
("Provide completion for bash.")
bool
bash
;
@
MutuallyExclusive
@
NamedArgument
.
Description
("Provide completion for zsh.")
bool
zsh
;
@
MutuallyExclusive
@
NamedArgument
.
Description
("Provide completion for tcsh.")
bool
tcsh
;
@
MutuallyExclusive
@
NamedArgument
.
Description
("Provide completion for fish.")
bool
fish
;
@
NamedArgument
.
Description
("Path to completer. Default value: path to this executable.")
string
completerPath
;
@
NamedArgument
.
Description
("Command name. Default value: " ~
defaultCommandName
!
COMMAND
~ ".")
string
commandName
;
void
execute
();
}
Members
Functions
execute
void
execute
()
Undocumented in source. Be warned that the author may not have intended to support it.
Variables
bash
bool
bash
;
Undocumented in source.
commandName
string
commandName
;
Undocumented in source.
completerPath
string
completerPath
;
Undocumented in source.
fish
bool
fish
;
Undocumented in source.
tcsh
bool
tcsh
;
Undocumented in source.
zsh
bool
zsh
;
Undocumented in source.
Meta
Source
See Implementation
argparse
completer
Complete
structs
Complete
Init
variables
cmd