Skip to content

Commit 821cc5c

Browse files
committed
added readme
1 parent 484c42c commit 821cc5c

1 file changed

Lines changed: 27 additions & 0 deletions

File tree

README.md

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

0 commit comments

Comments
 (0)