UNPKG

2.18 kBMarkdownView Raw
1# Zombie Swarm Cli
2
3Command line interface to [zombie swarm]().
4
5Used to query and manipulate zombie swarms.
6
7[![asciicast](https://asciinema.org/a/3gdyjmwyg19iflktg51l30dpw.png)](https://asciinema.org/a/3gdyjmwyg19iflktg51l30dpw)
8
9## Install
10
11```sh
12npm install -g @zombiec0rn/zombie-swarm-cli
13```
14
15## Use
16
17Needs to be run with `sudo` because it creates a temporary `route` to ensure multicast on correct interface.
18
19```
20sudo zombie-swarm ls --interface eth0
21```
22
23## Commands
24
25### ls
26
27List the swarm nodes.
28
29### plan
30
31Create a plan.
32
33### apply
34
35Apply a plan.
36
37### services
38
39List services.
40
41### `.zombierc`
42
43Zombie Swarm CLI support reading a `.zombierc` file in the current directory (yml).
44
45## Options
46
47```
48interface - the interface to query (mdns)
49```
50
51## Changelog
52
53### 2.8.2
54
55* Support for OSX :tada:
56
57### 2.8.1
58
59* Improved default output for `keeps`
60
61### 2.8.0
62
63* New flag :black_flag: `apply --always-remove` to always add `remove` option for adding services (in case they are not running but still exist)
64* Hiding `keeps` by default to keep focus on `diff` (add/remove)
65* New flag :black_flag: `plan --show-keeps` to show keeps anyway
66
67### 2.7.2
68
69* Modified `plan` flags to avoid collision with `--swarm`
70
71### 2.7.1
72
73* Locked down dep versions
74
75### 2.7.0
76
77* Support for passing `--swarm` flag (also .zombierc)
78
79### 2.6.2
80
81* Republish with public access
82
83### 2.6.1
84
85* Improved fingerprint handling and `plan` output
86
87### 2.6.0
88
89* Added a table output for `plan` also :tada:
90
91### 2.5.1
92
93* Fixed issue with modification to current container would not obey tags
94
95### 2.5.0
96
97* New feature - support for `.zombierc` config file (yml)
98
99### 2.4.0
100
101* New feature `zombie-swarm services` - list swarm services :rocket:
102
103### 2.3.0
104
105* Support for version printing `-v`
106
107### 2.2.2
108
109* Fixed use if `arr.includes` breaking plan
110
111### 2.2.1
112
113* Fixed plan bug where multiple id's would cause issues (modifying existing service configs)
114* Fixed plan bug where current placement would be trusted even if tags have changed
115
116### 2.2.0
117
118* Improved plan diffing
119
120### 2.1.0
121
122* Added support for plan
123* Added basic support for apply (echoing cmds)
124
125### 2.0.0
126
127* Initial release :tada:
128
129enjoy.