Add/Remove

Add or remove a box from the local mapping.json file

Zeus uses 2 mapping files to unbox boxes. The builtin-mapping.json file is for boxes that are a part of the official zeus-sdk repo (located: .../node_modules/@liquidapps/zeus-cmd/lib/resources/builtin-mapping.json). This file only changes when Zeus is updated. There is also a local zeus box for modifying existing boxes from the builtin-mapping.json and adding new boxes. If a box exists in both the builtin and the local mapping files, the local mapping file will be used. To use the builtin box instead, you must remove the local version first.

Zeus Box Add

Add
Options
1
zeus box add <BOX_NAME> <VERSION> <URI>
2
# zeus box add liquidx-jungle 1.0.1 https://s3.us-east-2.amazonaws.com/liquidapps.artifacts/boxes/0a98835c75debf2f1d875be8be39591501b15352f7c017799d0ebf3342668d2c.zip
Copied!
1
zeus box <option> [name] [boxVersion] [uri]
2
​
3
Create, Add or Remove a Box
4
​
5
Options:
6
--version Show version number [boolean]
7
--storage-path path for persistent storage [default: "/home/ubuntu/.zeus"]
8
--rc-file use rc file to load options from
9
[default: "/home/ubuntu/.zeus/zeusrc.json"]
10
--rc-ignore ignore rc file [default: false]
11
--verbose, -v [default: false]
12
-h, --help Show help [boolean]
13
--light, -l light npm dependencies for box [default: false]
14
​
15
Examples:
16
zeus box create
17
zeus box add liquidx-jungle 1.0.0
18
https://s3.us-east-2.amazonaws.com/liquidapps.artifacts/boxes/0a98835c75debf
19
2f1d875be8be39591501b15352f7c017799d0ebf3342668d2c.zip
20
zeus box remove liquidx-jungle 1.0.0
Copied!

Zeus Box Remove

Remove
Options
1
# zeus list-boxes # will see new box under 'Local Boxes:'
2
zeus box remove <BOX_NAME> <VERSION>
3
# zeus box remove liquidx-jungle 1.0.1
4
# zeus list-boxes, will be gone
Copied!
1
zeus box <option> [name] [boxVersion] [uri]
2
​
3
Create, Add or Remove a Box
4
​
5
Options:
6
--version Show version number [boolean]
7
--storage-path path for persistent storage [default: "/home/ubuntu/.zeus"]
8
--rc-file use rc file to load options from
9
[default: "/home/ubuntu/.zeus/zeusrc.json"]
10
--rc-ignore ignore rc file [default: false]
11
--verbose, -v [default: false]
12
-h, --help Show help [boolean]
13
--light, -l light npm dependencies for box [default: false]
14
​
15
Examples:
16
zeus box create
17
zeus box add liquidx-jungle 1.0.0
18
https://s3.us-east-2.amazonaws.com/liquidapps.artifacts/boxes/0a98835c75debf
19
2f1d875be8be39591501b15352f7c017799d0ebf3342668d2c.zip
20
zeus box remove liquidx-jungle 1.0.0
Copied!
Last modified 7mo ago