mirror of
https://github.com/ohmyzsh/ohmyzsh.git
synced 2026-05-08 04:34:00 +02:00
Add auto-completion for puppet certificate_revocation_list:
Provides auto-complete options for puppet certificate-revocation_list sub-command.
This commit is contained in:
parent
73d10f5ba4
commit
31adfa1f55
1 changed files with 27 additions and 0 deletions
|
|
@ -163,6 +163,11 @@ _certificate_revocation_list_arguments=(
|
|||
info Print the default terminus class for this face.
|
||||
save Invalid for this subcommand.
|
||||
search Invalid for this subcommand.
|
||||
'--render-as:FORMAT The rendering format to use'
|
||||
'--verbose:Whether to log verbosely'
|
||||
'--debug:Whether to log debug information'
|
||||
'--extra HASH:Extra arguments to pass to the indirection request'
|
||||
'--terminus: TERMINUS The indirector terminus to use'
|
||||
)
|
||||
|
||||
__task_list ()
|
||||
|
|
@ -277,6 +282,23 @@ __puppet-certificate ()
|
|||
esac
|
||||
}
|
||||
|
||||
__puppet-certificate_revocation_list ()
|
||||
{
|
||||
local curcontext="$curcontext" state line
|
||||
typeset -A opt_args
|
||||
|
||||
_arguments -C \
|
||||
':command:->command' \
|
||||
'*::options:->options'
|
||||
|
||||
case $state in
|
||||
(command)
|
||||
_describe -t commands "gem subcommand" _certificate_revocation_list_arguments
|
||||
return
|
||||
;;
|
||||
esac
|
||||
}
|
||||
|
||||
|
||||
|
||||
local expl
|
||||
|
|
@ -331,6 +353,11 @@ case $state in
|
|||
(certificate)
|
||||
__puppet-certificate
|
||||
;;
|
||||
|
||||
# Display sub-commands for puppet certificate_revocation_list.
|
||||
(certificate)
|
||||
__puppet-certificate_revocation_list
|
||||
;;
|
||||
esac
|
||||
;;
|
||||
esac
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue