Skip to content

Add native shell completion support (bash/zsh/fish) #148

@chaosky

Description

@chaosky

Hi,

First, thank you for building skillshare. The tool is very useful and the CLI UX is generally clean.

Currently, the CLI does not provide native shell completion support:

skillshare completion bash
# Unknown command: completion

It would be helpful to support standard shell completions for:

  • bash
  • zsh
  • fish
  • possibly nushell/powershell

This would significantly improve usability for:

  • command discovery
  • subcommand navigation
  • flag completion
  • reducing typing/errors

If the project already uses Cobra (or another CLI framework with completion support), this may only require enabling the built-in completion command.

Typical UX would look like:

skillshare completion bash
skillshare completion zsh
skillshare completion fish

Example installation for bash:

skillshare completion bash > ~/.local/share/bash-completion/completions/skillshare

At the moment, users need to rely on external tools like carapace or write custom completion scripts manually.

Thanks.

Metadata

Metadata

Assignees

Labels

documentationImprovements or additions to documentationfeatureNew feature or request

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions