samply icon indicating copy to clipboard operation
samply copied to clipboard

Suggestion: Provide shell completions

Open CosmicHorrorDev opened this issue 1 year ago • 0 comments

Note: I'm open to opening a PR for this

Since samply is using clap you can use clap_complete to generate shell completions with relative ease

One question that will need to be resolved is how to provide completions. The two most common ways are through either at build time through a build script or at runtime through some CLI flag or subcommands. Any preference on which one should be used?

CosmicHorrorDev avatar Dec 13 '23 06:12 CosmicHorrorDev