carapace-spec icon indicating copy to clipboard operation
carapace-spec copied to clipboard

define simple completions using a spec file

Results 14 carapace-spec issues
Sort by recently updated
recently updated
newest added

Add support for other shells Test: - [x] `bash` - [x] `elvish` - [x] `fish` - [ ] `nu` - [ ] `osh` - [x] `pwsh` - [ ] `xonsh`...

### Request Provide special substitution to `$C_FLAGS` by expanding it to all currently set flags. Use [shlex.Join](https://github.com/rsteube/carapace-shlex) for formatting. ### Proposed solution _No response_ ### Anything else? related #270 related...

enhancement

Rename macros using CamelCase for consistency.

Add `Action.Unless` modifier with conditions.

### Request Add `run` documentation including aliases. ### Proposed solution _No response_ ### Anything else? _No response_

documentation
enhancement

### Request Lots of frameworks and languages have json support out-of-the box but yaml would introduce an additional dependency. ### Proposed solution Provide secondary support for json (import/conversions). ### Anything...

enhancement

### Request Support exposed macros ### Proposed solution - `macro` core macro. - `_.macro` (or `_macro` as it is now) internal macro of command interpreting the spec. - `command.macro` external...

enhancement

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

enhancement

### Request support [ActionMultiParts](https://rsteube.github.io/carapace/carapace/defaultActions/actionMultiParts.html). ### Proposed solution string array macro with delimiter as first element ```yaml $multiparts([:, $_os.Users, $_os.Groups]) ``` ### Anything else? _No response_

enhancement