Add fish shell completion
Maintainers usually reply within 1 day
Assessment
- Difficulty
- 3/5
- Estimated time
- 1-2 days
- Newbie friendliness
- 25/100
Research direction
A linked pull request is already open, so review it before taking on this work. Read completions/completions.zsh, tests/test_completions.py, and the README's “Shell completion” section; inspect build_parser() for the commands and flags. Done means the fish completion covers them, the specified fish completion queries work, and python -m unittest discover -s tests -t . passes.
Written by the indexing model from the issue text.
Description
btc-toolkit ships static shell completions for bash and zsh in completions/. fish users get none.
What to do
- Add
completions/btc-toolkit.fish: the 11 commands with a short description each, and for each command exactly the flags it accepts.completions/btc-toolkit.zshis the reference. - Extend
tests/test_completions.pyso the fish file is checked against the CLI the same way bash and zsh are (commands and flags come frombuild_parser(); a new CLI flag must make the test fail until the completion lists it). - Mention fish next to bash and zsh in the README ("Shell completion").
Done when
- In fish,
complete -C 'btc-toolkit 'lists the commands andcomplete -C 'btc-toolkit tx --'lists the flags oftx. python -m unittest discover -s tests -t .passes.
Standard library only, as always. New here? Start with CONTRIBUTING.md. Comment below to take this issue.
- Dominant language
- Python
- Stars
- 2
- Forks
- 1
- Avg merge
- 1h 45m
- Merged PRs (30d)
- 32
Getting set up
- No Dockerfile or Docker Compose file
- Has a pull request template
- Read the contributing guide
First steps
- Read the whole issue, then the project's contributing guide.
- Comment on the issue to say you are picking it up — it saves two people doing the same work.
- Fork the repository and make your change on a branch.
- Open a pull request that references the issue number.
More from devdavidejesus/btc-toolkit
-
documentation good first issue
Difficulty 2/5 Half a day Newbie friendliness 78/100
devdavidejesus/btc-toolkit#63 ·
Maintainers usually reply within 1 day
-
enhancement question
Difficulty 5/5 Over a week Newbie friendliness 25/100
devdavidejesus/btc-toolkit#67 ·
Maintainers usually reply within 1 day
-
help wanted
Difficulty 3/5 1-2 days Newbie friendliness 58/100
devdavidejesus/btc-toolkit#66 ·
Maintainers usually reply within 1 day
-
enhancement help wanted
Difficulty 4/5 3-5 days Newbie friendliness 58/100
devdavidejesus/btc-toolkit#65 ·
Maintainers usually reply within 1 day
-
enhancement help wanted
Difficulty 4/5 3-5 days Newbie friendliness 68/100
devdavidejesus/btc-toolkit#64 ·
Maintainers usually reply within 1 day
All issues in devdavidejesus/btc-toolkit
Similar issues
-
Difficulty 2/5 1-3 hours Newbie friendliness 76/100
hkust-nlp/Toolathlon#101 ·
-
enhancement good first issue
Difficulty 2/5 1-3 hours Newbie friendliness 78/100
SkyTruth/cerulean-cloud#219 ·
-
area:security priority:low size:small
Difficulty 2/5 1-3 hours Newbie friendliness 84/100
RonaldHensbergen/composable-data-stack#1217 ·
Maintainers usually reply within 1 day
-
good first issue help wanted
Difficulty 2/5 1-3 hours Newbie friendliness 88/100
blixvip/BlendClone#27 ·
-
Difficulty 2/5 1-3 hours Newbie friendliness 74/100