Opened 13 years ago
Last modified 5 years ago
#10492 new enhancement
bash tab completion extension for trac-admin
Reported by: | Owned by: | ||
---|---|---|---|
Priority: | normal | Milestone: | next-major-releases |
Component: | admin/console | Version: | |
Severity: | normal | Keywords: | |
Cc: | gavenkoa@…, hans@… | Branch: | |
Release Notes: | |||
API Changes: | |||
Internal Changes: |
Description
This is a wishlist: it would be nice to have a bash tab-completion snippet that could complete the trac-admin subcommands directly in bash.
A baseline implementation could just be a hard-coded list; a fancier approach could interrogate the selected trac-admin instance to get a list of enabled sub-commands (which might be different due to installed plugins, enabled/disabled components, etc).
This feature request was originally reported to debian as http://bugs.debian.org/631259
Attachments (0)
Change History (4)
comment:1 by , 13 years ago
Milestone: | → next-major-0.1X |
---|
comment:2 by , 13 years ago
Look to my attempt:
Making a hard-coded list of command is fine, but when you need a list of user, permissions and another data from database you will understand that built-in client is the only one true solution as it is hard to make make queries to DB from CLI.
comment:3 by , 13 years ago
Cc: | added |
---|
comment:4 by , 11 years ago
Cc: | added |
---|
I have wanted that myself a few times.