--- name: codimd description: CLI harness for CodiMD collaborative markdown notes version: 0.1.0 categories: - documentation - markdown - collaboration entry_point: cli-anything-codimd namespace: cli_anything.codimd --- # CodiMD CLI Harness A stateful CLI for CodiMD - collaborative markdown notes on all platforms. ## Installation ```bash pip install cli-anything-codimd ``` ## Quick Start ```bash # Set server cli-anything-codimd config set server https://your-codimd-server.com # List your notes cli-anything-codimd note list # Create a new note cli-anything-codimd note create --content "# My New Note\n\nHello world" # Get note content cli-anything-codimd note get # Export as markdown cli-anything-codimd export markdown --output note.md # Export as PDF cli-anything-codimd export pdf --output note.pdf # Get user info cli-anything-codimd user me # Interactive REPL mode cli-anything-codimd repl ``` ## Command Groups ### Note Commands (`note`) | Command | Description | |---------|-------------| | `note list` | List user's notes | | `note get ` | Get note content | | `note create` | Create new note | | `note update ` | Update note content | | `note delete ` | Delete note | | `note info ` | Get note metadata | | `note publish ` | Get publish link | ### User Commands (`user`) | Command | Description | |---------|-------------| | `user me` | Get current user info | | `user login` | Login to server | | `user logout` | Logout from session | | `user export` | Export all user data | | `user delete` | Delete user account | ### Export Commands (`export`) | Command | Description | |---------|-------------| | `export markdown ` | Export as markdown | | `export pdf ` | Export as PDF | | `export html ` | Export as HTML | | `export slide ` | Export as reveal.js slides | ### Revision Commands (`revision`) | Command | Description | |---------|-------------| | `revision list ` | List note revisions | | `revision get