# CodiMD CLI Harness A stateful CLI for [CodiMD](https://github.com/hackmdio/codimd) - collaborative markdown notes on all platforms. ## Installation ```bash pip install cli-anything-codimd ``` ## Quick Start ```bash # Set your CodiMD 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 # Get user info cli-anything-codimd user me ``` ## Commands ### Note Operations | 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 Operations | 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 Operations | 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 Operations | Command | Description | |---------|-------------| | `revision list ` | List note revisions | | `revision get