Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Autocompletion of options #9

Closed
neithere opened this issue Aug 20, 2013 · 6 comments
Closed

Autocompletion of options #9

neithere opened this issue Aug 20, 2013 · 6 comments

Comments

@neithere
Copy link
Owner

Autocompletion currently works for commands (see issue #2) but not for options.

Note: This issue has been automatically migrated from Bitbucket
Created by @neithere on 2010-12-04 16:38:42+00:00, last updated: 2012-12-31 22:44:21+00:00

@ghost ghost assigned neithere Aug 20, 2013
@neithere
Copy link
Owner Author

Aha, argcomplete is just what we need.

Both argh.completion module and the bash script can be dropped in favour of optional integration with this library.

Note: This comment has been automatically migrated from Bitbucket
Created by @neithere on 2012-12-23 08:13:52+00:00

@neithere
Copy link
Owner Author

As there's a workaround for issue kislyuk/argcomplete#8, Argh's native solution can be safely replaced with argcomplete.

Note: This comment has been automatically migrated from Bitbucket
Created by @neithere on 2012-12-24 01:42:34+00:00

@neithere
Copy link
Owner Author

Looks like it doesn't support Python3; will need to fix it there.

Note: This comment has been automatically migrated from Bitbucket
Created by @neithere on 2012-12-24 02:38:04+00:00

@neithere
Copy link
Owner Author

Maybe there should be a way to plug in custom completion backend, e.g. https://github.com/dbarnett/python-selfcompletion

Note: This comment has been automatically migrated from Bitbucket
Created by @neithere on 2012-12-24 04:46:12+00:00

@neithere
Copy link
Owner Author

Fix issue #9: add support for full shell completion of commands and arguments via a 3rd-party library (argcomplete).

→ <<cset 891069ebfa6f>>

Note: This comment has been automatically migrated from Bitbucket
Created by @neithere on 2012-12-24 05:38:20+00:00

@neithere
Copy link
Owner Author

Remove outdated shell script (re #9)

→ <>

Note: This comment has been automatically migrated from Bitbucket
Created by @neithere on 2012-12-31 22:44:21+00:00

neithere added a commit that referenced this issue Aug 20, 2013
…rguments via a 3rd-party library (argcomplete).
neithere added a commit that referenced this issue Aug 20, 2013
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

1 participant