Comments (6)
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
from argh.
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
from argh.
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
from argh.
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
from argh.
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
from argh.
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
from argh.
Related Issues (20)
- Expose version information at runtime
- Revamp unit tests
- Remove previously deprecated stuff HOT 1
- Add type annotations to existing code
- Test coverage reported as <100% when argcomplete is installed HOT 5
- Keyword-Only Arguments as Options
- Add support for Python 3.12
- Refactor assembling module
- Type hints: basic usage to infer argument types HOT 2
- TypeError: cannot picke '_io.TextIOWrapper' regression in 0.30 for `type=FileType(..), default=sys.stdin)` HOT 2
- 0.30.X is breaking console scripts by moving options to positional arguments HOT 5
- Issue with underscores in positional arguments since 0.30.0 HOT 1
- Using argh.argh(args=... , default=...) causes double nesting of passed arguments HOT 1
- TypingHintArgSpecGuesser breaks on type alias List HOT 11
- Option to disable replacement of "_" with "-" in named cli arguments HOT 3
- Trim trailing `_` from argument names
- Setting the argument name with `dest` is ignored HOT 2
- cmake deprecation warning with cmake<3.5 HOT 1
- Test failures with Python 3.13.0b2 HOT 3
- Add ability to display long options in usage message
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from argh.