CLI for Odin package/docs browsing
- Odin 98.8%
- Shell 1.2%
| bin | ||
| lib/tui | ||
| src | ||
| .gitignore | ||
| LICENSE | ||
| odinfmt.json | ||
| README.md | ||
Doco
Interactive fuzzy-finder TUI for Odin documentation.
Usage
# index packages you want to search, combine any of these
doco index core: # all packages in collection
doco index core:strings core:fmt # specific packages
doco index ./src # local package
doco index ./src -collection:lib=lib # with custom collections
doco index core: ./src+ # mark ./src for quick reindex (ctrl-r)
# search interactively
doco # launch interactive search
doco str repl # search with initial query
doco list # list indexed packages
Note: Indexing requires an Odin compiler... but you have that, of course ;)
Building
bin/build # debug build → build/debug/doco
bin/build release # release build → ~/.local/bin/doco (or provide PREFIX)