carapace-sh / carapace-spec

define simple completions using a spec file
https://carapace.sh
MIT License
18 stars 3 forks source link

plugin support #91

Open rsteube opened 1 year ago

rsteube commented 1 year ago

Add plugins bool (intended for root command) to enable implicit embedding of [spec.name]-plugin completion (e.g. cargo-fmt, git-extras).

name: example
plugins: true
rsteube commented 1 year ago

Or should this just be the default behaviour without config? Maybe have an external configuration for this.

rsteube commented 1 year ago

Additional specs using dot as delimiter might be a good way.

example.pluginA.yaml gh.dash.yaml

No specific config required and plugins are registered implicitly.