mit einem Klick
omm-push
// Push architecture docs to oh-my-mermaid cloud. Handles login, link, and push workflow with error guidance. Use when the user says "omm push", "push to cloud", "deploy architecture", or "share architecture".
// Push architecture docs to oh-my-mermaid cloud. Handles login, link, and push workflow with error guidance. Use when the user says "omm push", "push to cloud", "deploy architecture", or "share architecture".
Scan codebase architecture and generate/update .omm/ documentation. Use when the user says "omm scan", "scan architecture", "update architecture", "refresh diagrams".
Start the omm web viewer to explore architecture diagrams in the browser. Use when the user says "omm view", "open viewer", "show diagrams", "view architecture", or "open architecture".
| name | omm-push |
| description | Push architecture docs to oh-my-mermaid cloud. Handles login, link, and push workflow with error guidance. Use when the user says "omm push", "push to cloud", "deploy architecture", or "share architecture". |
Automate the full workflow of pushing .omm/ architecture docs to the oh-my-mermaid cloud service.
Ensure the omm CLI is available:
command -v omm || npm install -g oh-my-mermaid
If the install command fails (permission denied), tell the user:
"Please run npm install -g oh-my-mermaid in your terminal, then try again."
Run omm share via Bash. If it errors with "not logged in":
omm login — this opens a browser for GitHub OAuthRun omm share via Bash. If it errors with "no project slug":
omm link — this sets the cloud project slug from the directory nameRun omm push via Bash.
Handle errors:
omm login again."On success, output:
https://ohmymermaid.com/p/{slug}omm share to get the shareable link"