MCPcopy Index your code
hub / github.com/carapace-sh/carapace

github.com/carapace-sh/carapace @v1.13.1

Chat with this repo
repository ↗ · DeepWiki ↗ · release v1.13.1 ↗ · + Follow
1,011 symbols 4,823 edges 156 files 248 documented · 25% 2 cross-repo links
What it actually does AI analysis from the code graph — generated when you open this
loading…
README

carapace

PkgGoDev documentation GoReportCard Coverage Status

Command argument completion generator for cobra.

Supported shells: - Bash - Cmd (experimental) - Elvish - Fish - Ion (experimental) - Nushell - Oil - Powershell - Tcsh (experimental) - Xonsh - Zsh

Getting Started

Read, Try and Build.

Extension points exported contracts — how you extend this code

CompletionCallback (FuncType)
CompletionCallback is executed during completion of associated flag or positional argument.
action.go
Option (FuncType)
Option configures completion for a command. Options are applied to the storage entry keyed by the command, so successive
carapace.go
Key (FuncType)
Key provides a cache key.
pkg/cache/key/cache.go
Context (Interface)
(no doc) [1 implementers]
pkg/uid/uid.go
Context (Interface)
(no doc) [1 implementers]
pkg/style/path.go
Context (Interface)
(no doc) [1 implementers]
pkg/traverse/traverse.go

Core symbols most depended-on inside this repo

ActionValues
called by 357
defaultActions.go
Expect
called by 233
pkg/sandbox/sandbox.go
Run
called by 233
pkg/execlog/execlog.go
Usage
called by 162
action.go
Error
called by 155
internal/shell/bash/patch.go
NoSpace
called by 146
action.go
Tag
called by 111
action.go
Gen
called by 109
carapace.go

Shape

Function 616
Method 300
Class 36
Struct 35
TypeAlias 17
Interface 4
FuncType 3

Languages

Go68%
TypeScript32%
Python1%

Modules by API surface

docs/asciinema/asciinema-player.min.js323 symbols
action.go40 symbols
internal/common/value.go24 symbols
example/cmd/modifier_test.go22 symbols
defaultActions.go22 symbols
pkg/sandbox/sandbox.go21 symbols
internal/env/env.go19 symbols
carapace.go19 symbols
internal/shell/multi/snippet_test.go18 symbols
carapace_test.go18 symbols
invokedAction.go15 symbols
example/cmd/root_test.go14 symbols

Used by 2 indexed graphs manifest dependencies, hub-wide

For agents

$ claude mcp add carapace \
  -- python -m otcore.mcp_server <graph>

⬇ download graph artifact

Ask about this repo answers extend the page