rabbitmq / rabbitmq-cli

Command line tools for RabbitMQ
Other
105 stars 34 forks source link

Turn auto-completion into a first class command #439

Closed michaelklishin closed 4 years ago

michaelklishin commented 4 years ago

Autocompletion currently uses a magic argument and requires an explicit "separation" of the positional argument:

rabbitmqctl --auto-complete -- sta
# => start_app
# => status

instead, it should be a first class command that can be documented in help:

rabbitmqctl autocomplete sta
# => start_app
# => status

Per discussion with @gerhard