@excalidraw-to-mermaid/cli
v0.1.0
Published
CLI utility to convert .excalidraw JSON to .mermaid
Downloads
12
Readme
@excalidraw-to-mermaid/cli
CLI utility to convert .excalidraw JSON to .mermaid
Usage
$ npm install -g @excalidraw-to-mermaid/cli
$ excalidraw-to-mermaid COMMAND
running command...
$ excalidraw-to-mermaid (--version)
@excalidraw-to-mermaid/cli/0.1.0 darwin-arm64 node-v20.11.0
$ excalidraw-to-mermaid --help [COMMAND]
USAGE
$ excalidraw-to-mermaid COMMAND
...
Commands
excalidraw-to-mermaid flowchart INPUT
Converts .excalidraw file to .mermaid file
USAGE
$ excalidraw-to-mermaid flowchart INPUT [-d TD|TB|BT|RL|LR] [-o <value>] [-s]
ARGUMENTS
INPUT Input .excalidraw file
FLAGS
-d, --direction=<option> [default: TD] Direction of mermaid flowchart
<options: TD|TB|BT|RL|LR>
-o, --output=<value> Output .mermaid file name
-s, --stdout Write output to stdout
DESCRIPTION
Converts .excalidraw file to .mermaid file
EXAMPLES
$ excalidraw-to-mermaid flowchart input.excalidraw -o output.mermaid
See code: src/commands/flowchart/index.ts
excalidraw-to-mermaid help [COMMAND]
Display help for excalidraw-to-mermaid.
USAGE
$ excalidraw-to-mermaid help [COMMAND...] [-n]
ARGUMENTS
COMMAND... Command to show help for.
FLAGS
-n, --nested-commands Include all nested commands in the output.
DESCRIPTION
Display help for excalidraw-to-mermaid.
See code: @oclif/plugin-help