@excalidraw-to-mermaid/cli
TypeScript icon, indicating that this package has built-in type declarations

0.1.0 • Public • Published

@excalidraw-to-mermaid/cli

CLI utility to convert .excalidraw JSON to .mermaid

oclif Version Downloads/week

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 linux-x64 node-v22.9.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

Package Sidebar

Install

npm i @excalidraw-to-mermaid/cli

Weekly Downloads

0

Version

0.1.0

License

ISC

Unpacked Size

8.41 kB

Total Files

16

Last publish

Collaborators

  • yokitoki