UNPKG
@tracespace/cli
Version:
latest (4.2.8)
next (5.0.0-alpha.0)
5.0.0-alpha.0
4.2.8
4.2.7
4.2.5
4.2.4
4.2.2
4.2.1
4.2.0
4.1.1
4.1.0
4.0.3
4.0.2
4.0.1
4.0.0
4.0.0-next.19
4.0.0-next.18
4.0.0-next.17
4.0.0-next.16
4.0.0-next.15
4.0.0-next.14
4.0.0-next.13
4.0.0-next.12
Render a PCB as SVGs from the command line
github.com/tracespace/tracespace
tracespace/tracespace
@tracespace/cli
/
lib
/
examples.js
16 lines
(13 loc)
•
304 B
JavaScript
View Raw
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
'use strict'
const
options =
require
(
'./options'
)
module
.
exports
= [ {
cmd
:
'$0'
,
desc
:
'Render files in `cwd` and output to `cwd`'
, }, {
cmd
:
'$0 --out=-'
,
desc
:
'Render files in `cwd` and output to `stdout`'
, }, ...
Object
.
keys
(options).
map
(
name
=>
options[name].
example
), ]