MCPcopy Index your code
hub / github.com/DavidGamba/go-getoptions

github.com/DavidGamba/go-getoptions @v0.33.0

Chat with this repo
repository ↗ · DeepWiki ↗ · release v0.33.0 ↗ · + Follow
322 symbols 1,833 edges 46 files 164 documented · 51% updated 14mo agov0.33.0 · 2025-04-15★ 602 open issues
What it actually does AI analysis from the code graph — generated when you open this
loading…

Extension points exported contracts — how you extend this code

ModifyFn (FuncType)
ModifyFn - Function signature for functions that modify an option.
user_options.go
CommandFn (FuncType)
CommandFn - Function signature for commands
user.go
Handler (FuncType)
Handler - Signature for the function that handles saving to the option.
internal/option/option.go
ArgCompletionsFn (FuncType)
ArgCompletionsFn - Function receiver for custom completions. The `target` argument indicates "bash" or "zsh" for the com
user.go
ValueCompletionsFn (FuncType)
ValueCompletionsFn - Function receiver for custom completions. The `target` argument indicates "bash" or "zsh" for the c
internal/option/option.go

Core symbols most depended-on inside this repo

Run
called by 216
dag/dag.go
Parse
called by 184
user.go
String
called by 145
dag/dag.go
Value
called by 141
user_options.go
Bool
called by 102
user_options.go
New
called by 92
internal/option/option.go
NewCommand
called by 90
user.go
Error
called by 82
dag/dag.go

Shape

Function 170
Method 120
Struct 16
TypeAlias 11
FuncType 5

Languages

Go100%

Modules by API surface

user_options.go39 symbols
dag/dag.go38 symbols
public_api_test.go37 symbols
internal/option/option.go29 symbols
user.go19 symbols
dag/dag_test.go13 symbols
api.go13 symbols
internal/sliceiterator/sliceiterator.go11 symbols
internal/completion/completion.go11 symbols
examples/dag/main.go10 symbols
testhelpers_test.go9 symbols
internal/help/help.go9 symbols

For agents

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

⬇ download graph artifact

Ask about this repo answers extend the page