CLI Usage
CLI Usage
The todo-mdx CLI compiles MDX files to markdown with live data.
Installation
Or use via npx:
Commands
compile
Compile MDX files to markdown.
Arguments:
input- Path to MDX file (e.g.,TODO.mdx)output- Output path (optional, defaults to same name with.mdextension)
Examples:
watch
Watch files for changes and recompile.
Examples:
init
Initialize todo.mdx in a new project.
This will:
- Initialize beads issue tracker
- Create example
TODO.mdxfile - Set up configuration
Configuration
Create a todo.mdx.config.ts file:
Integration with CI/CD
Add to your CI workflow to keep documentation up-to-date: