A Bash / shell-script indexer for CodeMap, shipped as an independent PyPI package.
Backed by tree-sitter-bash:
| AST node | Symbol kind |
|---|---|
function_definition |
function |
Top-level variable_assignment |
variable |
declaration_command (readonly/declare/export/local) at top level |
variable (with extra.bash_kind=<keyword>) |
Function bodies are not walked for inner assignments — anything declared inside a function is local state, not a script-level symbol.
pip install codemap-bashscip-bash . . . scripts/deploy.sh/greet().
scip-bash . . . scripts/deploy.sh/MAX_RETRIES.
*.sh,*.bash,*.bats- Files without an extension whose shebang starts with
#!/bin/bashor#!/usr/bin/env bashare matched viasupports().
source/.includes are not turned into edges.- Aliases (
alias ll='ls -la') are not captured. getoptsargument schemas aren't structured.- POSIX sh / Zsh / Fish dialects parse, but constructs unique to them may degrade to syntax-error diagnostics.
MIT.