Created
December 13, 2009 02:09
-
-
Save cooldaemon/255211 to your computer and use it in GitHub Desktop.
A zsh completion function for rabbitmqctl.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
#compdef rabbitmqctl | |
typeset -A opt_args | |
local context state line | |
_arguments : \ | |
"*:argument:(stop stop_app start_app reset force_reset cluster status rotate_logs close_connection add_user delete_user change_password list_users add_vhost delete_vhost list_vhosts set_permissions clear_permissions list_permissions list_user_permissions list_queues list_exchanges list_bindings list_connections list_channels list_consumers)" \ | |
&& return 0 | |
return 1; |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment