Bug 13791: tab-completion for koha-plack in bash
authorTomas Cohen Arazi <tomascohen@theke.io>
Fri, 14 Aug 2015 21:24:20 +0000 (18:24 -0300)
committerTomas Cohen Arazi <tomascohen@unc.edu.ar>
Mon, 24 Aug 2015 16:00:41 +0000 (13:00 -0300)
commit76f3c5794c16385b629b70b123e935ef5eb0802e
treec166c1c42fb895dda5d1453025c2cb0fc1e702a6
parentdc742ec9b505586c1b6ba9b11eb614b46662e17f
Bug 13791: tab-completion for koha-plack in bash

This patch adds tab-completion in bash for the koha-plack command.

After the --start, --stop, --restart and --disable switches it only offers
plack-enabled instances.  And disabled instances to --enable.

--help and -h just finish end the completion.

--quiet and -q are trickier to implement. They will work (be offered)
only before the action switches.

Signed-off-by: Josef Moravec <josef.moravec@gmail.com>
Signed-off-by: Jonathan Druart <jonathan.druart@bugs.koha-community.org>
Signed-off-by: Tomas Cohen Arazi <tomascohen@unc.edu.ar>
debian/koha-common.bash-completion