UNPKG
@mermaid-js/mermaid-cli
Version:
latest (11.15.0)
11.15.0
11.14.0
11.12.0
11.10.1
11.9.0
11.6.0
11.4.3
11.4.2
11.4.1
11.4.0
11.3.0
11.2.1
11.2.0
11.1.1
10.9.1
10.9.0
10.8.0
10.7.0
10.6.1
10.6.0
10.5.1
10.5.0
10.4.0
10.3.1
10.3.0
10.2.4
10.2.2
10.1.0
10.0.2
10.0.0
9.4.0
9.3.0
9.2.2
9.1.7
9.1.6
9.1.5
9.1.4
9.1.3
9.1.2
9.0.3
9.0.2
9.0.1
9.0.0
8.14.0
8.13.10
8.13.8
8.13.7
8.13.6
8.13.5
8.13.4
8.13.3
8.13.2
8.13.0
8.12.1
8.12.0
8.11.5
8.11.4
8.11.0
8.10.2
8.10.1
8.9.3
8.9.3-1
8.9.2
8.9.1
8.9.0
8.8.4
8.8.4-1
8.8.3-2
8.8.2-beta.8
8.8.1
8.8.0
8.7.0
8.6.4
8.6.0
8.5.3
8.5.2
8.5.1
8.5.1-2
8.4.8
0.1.0
Command-line interface for mermaid
github.com/mermaid-js/mermaid-cli
mermaid-js/mermaid-cli
@mermaid-js/mermaid-cli
/
src
/
cli.js
7 lines
(4 loc)
•
177 B
JavaScript
View Raw
1
2
3
4
5
6
7
#!/usr/bin/env node
import
{ cli, error }
from
'./index.js'
process.
title
=
'mmdc'
cli
().
catch
(
(
exception
) =>
error
(exception
instanceof
Error
? exception.
stack
: exception))