CLI Reference¶
Usage¶
If PATH is given without a subcommand, Codeilus runs analyze then serve.
Commands¶
codeilus analyze <path>¶
Run the full analysis pipeline on a repository.
Steps: parse, store, graph, metrics, analyze, diagram, narrate, learn.
codeilus serve¶
Start the interactive web server.
| Flag | Default | Description |
|---|---|---|
--port, -p |
4174 |
Port to listen on |
codeilus <path>¶
Shorthand for analyze + serve:
codeilus harvest¶
Scrape GitHub trending repositories.
| Flag | Description |
|---|---|
--trending |
Scrape trending repos |
--date |
Date to harvest (YYYY-MM-DD) |
--languages |
Filter by languages (comma-separated) |
codeilus export¶
Export analyzed repos as static HTML.
| Flag | Default | Description |
|---|---|---|
--output, -o |
./output |
Output directory |
--all-harvested |
Export all harvested repos | |
--date |
Date for harvested repos |
codeilus deploy¶
Deploy static output to CDN.
| Flag | Description |
|---|---|
--cloudflare |
Deploy to Cloudflare Pages |
--gh-pages |
Deploy to GitHub Pages |
codeilus mcp¶
Start the MCP stdio server for AI agent integration.
See MCP Server for available tools.