aws / aws/aws-cli

aws_completer: expose `help_text` for descriptions

Open
#6,344 1 comment 0 reactions 0 assignees View on GitHub
autocomplete feature-request p3
Dominant language
Python
Stars
17.3k
Forks
4.6k
Avg merge
1d 2h
Merged PRs (30d)
13

Description

**Is your feature request related to a problem? Please describe.**
Completions currently contain no descriptions.

**Describe the solution you'd like**
Additionally exposing the `help_text` from `CompletionResult` as `json` or `\t` separated (as in fish).
Enabled by another environment variable.

**Describe alternatives you've considered**
Accessing `create_autocomplete` [directly](https://github.com/rsteube/carapace-bin/blob/5ab20157b7041f0f22bee6b9ae122ac627baa504/completers/aws_completer/cmd/complete.py#L34) seems to work fine but that is incompatible with the binary release.

**Additional context**
![2021-08-19-164708_718x436_scrot](https://user-images.githubusercontent.com/9090290/130097522-07a4c733-90f6-47bc-a08f-1989294e1f22.png)

Contributor guide

Open the contributing guide

Assessment

This issue has not been assessed yet.

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.