From 0e8edc9949fd0fce9d4ff57ab94b9e1d7d3270c8 Mon Sep 17 00:00:00 2001 From: Eyal Date: Wed, 8 Aug 2018 13:59:41 +0300 Subject: [PATCH] update bash completion with new commands Change-Id: Id9e8e2ab4d3e1ff25e3332f3db48a13b047e4c2d --- tools/vitrage.bash_completion | 37 ++++++++++++++++++++--------------- 1 file changed, 21 insertions(+), 16 deletions(-) diff --git a/tools/vitrage.bash_completion b/tools/vitrage.bash_completion index 5130242..afd681a 100755 --- a/tools/vitrage.bash_completion +++ b/tools/vitrage.bash_completion @@ -5,30 +5,35 @@ _vitrage() _get_comp_words_by_ref -n : cur prev words # Command data: - cmds='alarm complete event healthcheck help rca resource template topology' - cmds_alarm='list show count' - cmds_alarm_list='-h --help -f --format -c --column --max-width --print-empty --noindent --quote --limit --marker --all-tenants' - cmds_alarm_history='-h --help -f --format -c --column --max-width --print-empty --noindent --quote --limit --marker --start --end --all-tenants' - cmds_alarm_count='-h --help -f --format -c --column --max-width --print-empty --noindent --quote --all-tenants' - cmds_alarm_show='-h --help' + cmds='alarm complete event healthcheck help rca resource template topology webhook' + cmds_alarm='count history list show' + cmds_alarm_count='-h --help -f --format -c --column --max-width --fit-width --print-empty --noindent --variable --prefix --all-tenants' + cmds_alarm_history='-h --help -f --format -c --column --max-width --fit-width --print-empty --quote --noindent --sort-column --all-tenants --limit --marker --start --end' + cmds_alarm_list='-h --help -f --format -c --column --max-width --fit-width --print-empty --quote --noindent --sort-column --all-tenants --limit --marker' + cmds_alarm_show='-h --help -f --format -c --column --max-width --fit-width --print-empty --noindent --variable --prefix' cmds_complete='-h --help --name --shell' cmds_event='post' cmds_event_post='-h --help --type --time --details' - cmds_healthcheck='-h --help -f --format -c --column --max-width --print-empty --noindent --variable --prefix' + cmds_healthcheck='-h --help -f --format -c --column --max-width --fit-width --print-empty --noindent --variable --prefix' cmds_help='-h --help' cmds_rca='show' - cmds_rca_show='-h --help -f --format -c --column --max-width --print-empty --noindent --variable --prefix --all-tenants' + cmds_rca_show='-h --help -f --format -c --column --max-width --fit-width --print-empty --noindent --variable --prefix --all-tenants' cmds_resource='list show' - cmds_resource_list='-h --help -f --format -c --column --max-width --print-empty --noindent --quote --type --all-tenants' - cmds_resource_show='-h --help -f --format -c --column --max-width --print-empty --noindent --variable --prefix' - cmds_template='list show validate add delete' - cmds_template_add='-h --help --path --type' + cmds_resource_list='-h --help -f --format -c --column --max-width --fit-width --print-empty --quote --noindent --sort-column --type --all-tenants' + cmds_resource_show='-h --help -f --format -c --column --max-width --fit-width --print-empty --noindent --variable --prefix' + cmds_template='add delete list show validate' + cmds_template_add='-h --help -f --format -c --column --max-width --fit-width --print-empty --quote --noindent --sort-column --path --type' cmds_template_delete='-h --help' - cmds_template_list='-h --help -f --format -c --column --max-width --print-empty --noindent --quote' - cmds_template_show='-h --help -f --format -c --column --max-width --print-empty --noindent --variable --prefix' - cmds_template_validate='-h --help -f --format -c --column --max-width --print-empty --noindent --variable --prefix --path' + cmds_template_list='-h --help -f --format -c --column --max-width --fit-width --print-empty --quote --noindent --sort-column' + cmds_template_show='-h --help -f --format -c --column --max-width --fit-width --print-empty --noindent --variable --prefix' + cmds_template_validate='-h --help -f --format -c --column --max-width --fit-width --print-empty --noindent --variable --prefix --path --type' cmds_topology='show' - cmds_topology_show='-h --help -f --format -c --column --max-width --print-empty --noindent --variable --prefix --filter --limit --root --graph-type --all-tenants' + cmds_topology_show='-h --help -f --format -c --column --max-width --fit-width --print-empty --noindent --variable --prefix --filter --limit --root --graph-type --all-tenants' + cmds_webhook='add delete list show' + cmds_webhook_add='-h --help -f --format -c --column --max-width --fit-width --print-empty --noindent --variable --prefix --url --regex_filter --headers' + cmds_webhook_delete='-h --help -f --format -c --column --max-width --fit-width --print-empty --noindent --variable --prefix' + cmds_webhook_list='-h --help -f --format -c --column --max-width --fit-width --print-empty --quote --noindent --sort-column --all-tenants' + cmds_webhook_show='-h --help -f --format -c --column --max-width --fit-width --print-empty --noindent --variable --prefix' dash=- underscore=_