shtab icon indicating copy to clipboard operation
shtab copied to clipboard

↔️ Automagic shell tab completion for Python CLI applications

Results 57 shtab issues
Sort by recently updated
recently updated
newest added

Hi, since #81 , shtab always only completes the first subparser command. The minimal example below immediately completes "bla". The Reason seems to be that https://github.com/iterative/shtab/blob/60a8525707f10859513c4362ea9c62cd40db93b8/shtab/__init__.py#L357 only expands the first...

Fixes #77

enhancement
shell-bash
stale

Pull Request #78 refactored by [Sourcery](https://sourcery.ai/github/). Since the original Pull Request was opened as a fork in a contributor's repository, we are unable to create a Pull Request branching from...

[![Mend Renovate](https://app.renovatebot.com/images/banner.svg)](https://renovatebot.com) Welcome to [Renovate](https://togithub.com/renovatebot/renovate)! This is an onboarding PR to help you understand and configure settings before regular Pull Requests begin. 🚦 To activate Renovate, merge this Pull Request....

Fixes #65 /CC @tshu-w

enhancement

Hi, it will be much better if we use `_default` instead of nothing as dest in `complete_zsh` https://github.com/iterative/shtab/blob/master/shtab/__init__.py#L476 and https://github.com/iterative/shtab/blob/master/shtab/__init__.py#L486. User can get basic default competition without setting.

enhancement
shell-bash
shell-zsh
shell-tcsh

Hi, I found that I can't use compopt (e.g. to set `-o nospace`) in custom bash completion functions. This is due to the function in question being executed in a...

enhancement
shell-bash

Branch `master` refactored by [Sourcery](https://sourcery.ai/github/). If you're happy with these changes, merge this Pull Request using the *Squash and merge* strategy. See our documentation [here](https://docs.sourcery.ai/GitHub/Using-Sourcery-for-GitHub/). Run Sourcery locally Reduce the...

A feature that jsonargparse+argcomplete supports is the print of help when there are zero possible completions. It would be great if the same feature can be implemented for shtab. To...

documentation
enhancement

There is some interest in making [jsonargparse](https://github.com/omni-us/jsonargparse) more usable with shtab. Ideally, when people use jsonargparse many shtab features would work out-of-the-box, avoiding the need for them to implement boilerplate....

enhancement