Skip to content

Commit b9a7bc6

Browse files
authored
Merge pull request #10 from carapace-sh/add-readme
added readme
2 parents 484c42c + 06ddb0c commit b9a7bc6

2 files changed

Lines changed: 29 additions & 0 deletions

File tree

README.md

Lines changed: 29 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,29 @@
1+
# carapace-aws
2+
3+
Carapace-aws is an enriched completer for [aws-cli].
4+
5+
![](./carapace-aws.png)
6+
7+
## How it works
8+
9+
The subcommands in [aws-cli] are mostly based on the [botocore] service definitions.
10+
These are `json` files that contain additional information and static completions.
11+
But these are not fully exposed to the shell completion and only accessible in [auto-prompt].
12+
13+
Carapace-aws parses the [botocore] service definitions into a [carapace] based completer.
14+
This enables support for descriptions, colored hightlighting, and custom completions.
15+
Undefined completions are simply delegated to the official [aws_completer].
16+
17+
## Getting Started
18+
19+
When using [carapace-bin] this happens implicitly when then `carapace-aws` binary is in [PATH].
20+
21+
Otherwise the completions can be loaded directly with [`carapace-aws _carapace`](https://carapace-sh.github.io/carapace/carapace/gen.html#hidden-subcommand).
22+
23+
[auto-prompt]:https://docs.aws.amazon.com/cli/latest/userguide/cli-usage-parameters-prompting.html
24+
[aws-cli]:https://github.com/aws/aws-cli
25+
[aws_completer]:https://docs.aws.amazon.com/cli/latest/userguide/cli-configure-completion.html
26+
[botocore]:https://github.com/boto/botocore
27+
[carapace-bin]:https://github.com/carapace-sh/carapace-bin
28+
[carapace]:https://carapace.sh
29+
[PATH]:https://en.wikipedia.org/wiki/PATH_(variable)

carapace-aws.png

64 KB
Loading

0 commit comments

Comments
 (0)