This patch series adds a script to automatically generate the bash completion
script. Most of the patches are preparing work.

Michael Hanselmann (7):
  cli: Add new classes for argument definitions
  Change scripts to use new argument definitions
  Make all options use cli_option
  Add more auto-completion metadata
  Convert “burnin” to definition-based options
  Add tools directory to constants
  Use script to generate bash completion

 Makefile.am                     |   32 ++-
 autotools/build-bash-completion |  505 ++++++++++++++++++++++++++++++++++++
 doc/examples/bash_completion.in |  543 ---------------------------------------
 lib/cli.py                      |  252 +++++++++++++------
 lib/constants.py                |    1 +
 scripts/gnt-backup              |   87 ++++---
 scripts/gnt-cluster             |  200 ++++++++-------
 scripts/gnt-debug               |   73 +++---
 scripts/gnt-instance            |  331 ++++++++++++------------
 scripts/gnt-job                 |   29 +-
 scripts/gnt-node                |  153 ++++++-----
 scripts/gnt-os                  |    5 +-
 tools/burnin                    |  191 +++++++-------
 13 files changed, 1259 insertions(+), 1143 deletions(-)
 create mode 100755 autotools/build-bash-completion
 delete mode 100644 doc/examples/bash_completion.in

Reply via email to