mirror of
https://github.com/puppetlabs/vmfloaty.git
synced 2026-01-25 21:28:40 -05:00
Add service command
This change creates the `floaty service` command with two valid arguemnts: types and examples - `floaty service types` prints out a list of valid types for use in a service definition in ~/.vmfloaty.yml - `floaty service examples` prints out example configuration files for both a single service and multiple services.
This commit is contained in:
parent
512adb4af1
commit
9e61247cfe
5 changed files with 93 additions and 88 deletions
|
|
@ -7,7 +7,7 @@ _vmfloaty()
|
|||
cur="${COMP_WORDS[COMP_CWORD]}"
|
||||
prev="${COMP_WORDS[COMP_CWORD-1]}"
|
||||
|
||||
subcommands="delete get help list modify query revert snapshot ssh status summary token"
|
||||
subcommands="delete get help list modify query revert service snapshot ssh status summary token"
|
||||
template_subcommands="get ssh"
|
||||
hostname_subcommands="delete modify query revert snapshot"
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue