On 11/14/2018 03:12 AM, Lin Ma wrote:
The most of content of this file comes from the output of the command '
register-python-argcomplete $MY-SCRIPT', plus some changes.
For the details about argcomplete, Please refer to
https://pypi.org/project/argcomplete/ or
On 11/14/2018 03:12 AM, Lin Ma wrote:
Signed-off-by: Lin Ma
---
setup.py | 10 ++
1 file changed, 10 insertions(+)
diff --git a/setup.py b/setup.py
index 658e6503..1c4b4340 100755
--- a/setup.py
+++ b/setup.py
@@ -273,6 +273,15 @@ class
On 11/14/2018 03:12 AM, Lin Ma wrote:
With this patchset, the general options completion is available. ex:
$ virt-install -
...
--arch --check --cpu --dry-run -h
--autostart --clock --cputune --events--help
...
$ virt-install --a
--arch --autostart
On 11/14/2018 03:12 AM, Lin Ma wrote:
Hi all,
These draft patches add the tab completion in bash for virt-* utilities.
We've been using the argparse to help parse handling, So I think that the
argcomplete is a good option to deal with argument/sub-options completion
in bash shell for