doc

Access built-in documentation, guides, and the ImandraX API reference directly from the terminal. Designed for both human developers and LLM-driven coding agents.

Tip: Running codelogician doc --help displays the full documentation tree with all available sections.

codelogician doc COMMAND [OPTIONS]

Subcommands

CommandDescription
dumpSave the skill/ documentation directory to a specified path
searchSearch documentation, error corpus, and prelude reference

doc dump

Save the skill/ documentation directory to a specified path.

codelogician doc dump DIR_PATH

Arguments:

ArgumentDescription
DIR_PATHDirectory path to copy skill/ docs into (required)

Example:

codelogician doc dump ./iml-docs

Search across documentation, error corpus, and prelude reference.

codelogician doc search COMMAND [OPTIONS]

Subcommands:

CommandDescription
md <query>Fuzzy match markdown file names and descriptions
error <query>Search error_corpus.json (common IML errors and fixes)
prelude <query>Search prelude.json (built-in modules and functions)
schemaPrint the JSON schema for --json requests

Options:

OptionDescription
-n <N>Maximum number of results (default: 10)
--json '{...}'JSON search request

Example:

# Search markdown files
codelogician doc search md "region decomposition"
 
# Search error corpus
codelogician doc search error "type error"
 
# Search prelude (modules/functions)
codelogician doc search prelude "List"
 
# Limit results
codelogician doc search md "verification" -n 3
 
# JSON search
codelogician doc search md --json '{"query": "test", "max_results": 5}'