argh
argh copied to clipboard
Partial command names
..like in Mercurial:
#!bash
$ hg sta
$ hg status
This doesn't seem to be available in argparse in any form.
Note: This issue has been automatically migrated from Bitbucket Created by @neithere on 2010-11-13 00:40:09+00:00, last updated: 2012-12-18 15:33:49+00:00
Related: http://bugs.python.org/issue4256
Note: This comment has been automatically migrated from Bitbucket Created by @neithere on 2010-11-27 12:52:28+00:00
Probably related to <<issue 2>> (autocompletion) and [[http://code.google.com/p/argparse/issues/detail?id=55|argparse issue #55]]
Note: This comment has been automatically migrated from Bitbucket Created by @neithere on 2010-11-27 13:19:44+00:00
Hm, "on hold" hides the issue so that new users will submit duplicates.
Note: This comment has been automatically migrated from Bitbucket Created by @neithere on 2010-12-01 18:09:47+00:00
Works for options out of the box: --foo = --fo = --f, see argparse docs.
Doesn't work for positional arguments.
Note: This comment has been automatically migrated from Bitbucket Created by @neithere on 2012-12-23 02:45:41+00:00
There's Python ticket #12713 with a patch. Still not closed (tests need improvement).
The patch is small so it may be worth it to include something in that vein in Argh until the patch is finally shipped with Python (several years later?).
Note: This comment has been automatically migrated from Bitbucket Created by @neithere on 2012-12-23 03:02:59+00:00