~bzr-pqm/bzr/bzr.dev

First programmatic generation of completions.

The list of commands is generated, as is the list of possible switches for
each command. Commands requiring arguments aren't treated specially yet.

For every option name there is a list of switches, and if any switch for the
option is given, then the others will be suppressed.  This might be
incorrect in some cases, but closely mimics the old, static function.  The
list of these switch suppressions might be incomplete, as some switches
might have different alternative forms for different commands, in which
cases only the intersection of all alternatives gets suppressed.  A future
version might do this suppression based on the current command, or drop it
completely.
Filename Latest Rev Last Changed Committer Comment Size
..
.bzrignore 0.27.2 15 years ago Martin von Gagern First programmatic generation of completions. The 12 bytes Diff Download File
__init__.py 0.27.2 15 years ago Martin von Gagern First programmatic generation of completions. The 602 bytes Diff Download File
bashcomp.py 0.27.2 15 years ago Martin von Gagern First programmatic generation of completions. The 3.6 KB Diff Download File
README.txt 0.27.2 15 years ago Martin von Gagern First programmatic generation of completions. The 1.8 KB Diff Download File