Skip to content

feat: add shell completion scripts for bash and zsh - #393

Open
cemheren wants to merge 1 commit into
mainfrom
grow/shell-completions
Open

feat: add shell completion scripts for bash and zsh#393
cemheren wants to merge 1 commit into
mainfrom
grow/shell-completions

Conversation

@cemheren

Copy link
Copy Markdown
Owner

Adds tab-completion scripts for bash and zsh, covering all CLI flags and CSV file arguments.

Changes

  • completions/quicksheet.bash — bash completion with complete -F
  • completions/quicksheet.zsh — zsh completion with _arguments
  • docs/shell-completions.md — installation instructions

Completed items

  • All --flags (--help, --version, --export-md, --export-html, --export-json, --list-extensions)
  • Short flags (-h, -v)
  • File arguments default to .csv files
  • Export flags complete with appropriate output file extensions

Closes #372

Add tab-completion for all CLI flags (--help, --version, --export-md,
--export-html, --export-json, --export-tsv, --delimiter, --info,
--list-extensions) plus .csv file completion for positional arguments.

Includes install docs at docs/shell-completions.md.

Closes #372
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

Add shell completion scripts for bash and zsh

1 participant