magellan-cli 0.4.4 → 0.5.0
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/Gemfile.lock +17 -1
- data/README.md +14 -80
- data/Rakefile +9 -0
- data/lib/magellan/cli/base.rb +3 -3
- data/lib/magellan/cli/command.rb +8 -2
- data/lib/magellan/cli/locales/en.yml +74 -46
- data/lib/magellan/cli/locales/ja.yml +74 -46
- data/lib/magellan/cli/messaging/base.rb +75 -0
- data/lib/magellan/cli/messaging/http.rb +49 -0
- data/lib/magellan/cli/messaging/mqtt.rb +21 -0
- data/lib/magellan/cli/messaging.rb +18 -0
- data/lib/magellan/cli/reference_generator.rb +23 -6
- data/lib/magellan/cli/resources/base.rb +11 -10
- data/lib/magellan/cli/resources/client_version.rb +3 -2
- data/lib/magellan/cli/resources/cloudsql.rb +4 -4
- data/lib/magellan/cli/resources/deletable.rb +1 -1
- data/lib/magellan/cli/resources/organization.rb +1 -1
- data/lib/magellan/cli/resources/project.rb +2 -2
- data/lib/magellan/cli/resources/stage.rb +16 -16
- data/lib/magellan/cli/resources/team.rb +2 -2
- data/lib/magellan/cli/resources/transaction_router.rb +1 -1
- data/lib/magellan/cli/resources/worker.rb +5 -4
- data/lib/magellan/cli/version.rb +1 -1
- data/lib/magellan/cli.rb +2 -0
- data/magellan-cli.gemspec +1 -0
- data/reference/en/client_version.md +83 -0
- data/reference/en/cloudsql.md +93 -0
- data/reference/en/container.md +65 -0
- data/reference/en/image.md +65 -0
- data/reference/en/index.md +63 -0
- data/reference/en/organization.md +83 -0
- data/reference/en/project.md +92 -0
- data/reference/en/stage.md +181 -0
- data/reference/en/team.md +74 -0
- data/reference/en/worker.md +107 -0
- data/reference/ja/client_version.md +83 -0
- data/reference/ja/cloudsql.md +93 -0
- data/reference/ja/container.md +65 -0
- data/reference/ja/image.md +65 -0
- data/reference/ja/index.md +63 -0
- data/reference/ja/organization.md +83 -0
- data/reference/ja/project.md +92 -0
- data/reference/ja/stage.md +181 -0
- data/reference/ja/team.md +74 -0
- data/reference/ja/worker.md +107 -0
- data/spec/magellan/cli/messaging/http_headers.json +5 -0
- data/spec/magellan/cli/messaging/http_headers.yml +3 -0
- data/spec/magellan/cli/messaging/http_spec.rb +43 -0
- metadata +45 -1
@@ -0,0 +1,65 @@
|
|
1
|
+
---
|
2
|
+
layout: index
|
3
|
+
breadcrumb: <a href="/">Top</a> / <a href="/reference">Reference</a> / <a href="/reference/magellan-cli">magellan-cli</a> / image
|
4
|
+
---
|
5
|
+
|
6
|
+
## Commands
|
7
|
+
|
8
|
+
- [magellan-cli list](#list)
|
9
|
+
- [magellan-cli show [ID]](#show)
|
10
|
+
- [magellan-cli select NAME](#select)
|
11
|
+
- [magellan-cli deselect](#deselect)
|
12
|
+
- [magellan-cli help [COMMAND]](#help)
|
13
|
+
|
14
|
+
## Global Options
|
15
|
+
|
16
|
+
```text
|
17
|
+
Options:
|
18
|
+
-V, [--verbose]
|
19
|
+
-D, [--dryrun]
|
20
|
+
-v, [--version]
|
21
|
+
|
22
|
+
```
|
23
|
+
|
24
|
+
|
25
|
+
## Details
|
26
|
+
### <a name="list"></a>list
|
27
|
+
|
28
|
+
```text
|
29
|
+
magellan-cli list
|
30
|
+
```
|
31
|
+
|
32
|
+
Show a list of the images
|
33
|
+
|
34
|
+
### <a name="show"></a>show
|
35
|
+
|
36
|
+
```text
|
37
|
+
magellan-cli show [ID]
|
38
|
+
```
|
39
|
+
|
40
|
+
Show the detail of the image specified by ID
|
41
|
+
|
42
|
+
### <a name="select"></a>select
|
43
|
+
|
44
|
+
```text
|
45
|
+
magellan-cli select NAME
|
46
|
+
```
|
47
|
+
|
48
|
+
Select the image by NAME
|
49
|
+
|
50
|
+
### <a name="deselect"></a>deselect
|
51
|
+
|
52
|
+
```text
|
53
|
+
magellan-cli deselect
|
54
|
+
```
|
55
|
+
|
56
|
+
Deselect the image
|
57
|
+
|
58
|
+
### <a name="help"></a>help
|
59
|
+
|
60
|
+
```text
|
61
|
+
magellan-cli help [COMMAND]
|
62
|
+
```
|
63
|
+
|
64
|
+
Describe available commands or one specific command
|
65
|
+
|
@@ -0,0 +1,63 @@
|
|
1
|
+
---
|
2
|
+
layout: index
|
3
|
+
breadcrumb: <a href="/">Top</a> / <a href="/reference">Reference</a> / <a href="/reference/magellan-cli">magellan-cli</a> /
|
4
|
+
---
|
5
|
+
|
6
|
+
## Commands
|
7
|
+
|
8
|
+
- [magellan-cli login](#login)
|
9
|
+
- [magellan-cli organization SUBCOMMAND ...ARGS](./organization.html)
|
10
|
+
- [magellan-cli team SUBCOMMAND ...ARGS](./team.html)
|
11
|
+
- [magellan-cli project SUBCOMMAND ...ARGS](./project.html)
|
12
|
+
- [magellan-cli stage SUBCOMMAND ...ARGS](./stage.html)
|
13
|
+
- [magellan-cli client_version SUBCOMMAND ...ARGS](./client_version.html)
|
14
|
+
- [magellan-cli worker SUBCOMMAND ...ARGS](./worker.html)
|
15
|
+
- [magellan-cli image SUBCOMMAND ...ARGS](./image.html)
|
16
|
+
- [magellan-cli container SUBCOMMAND ...ARGS](./container.html)
|
17
|
+
- [magellan-cli cloudsql SUBCOMMAND ...ARGS](./cloudsql.html)
|
18
|
+
- [magellan-cli info](#info)
|
19
|
+
- [magellan-cli help [COMMAND]](#help)
|
20
|
+
|
21
|
+
## Global Options
|
22
|
+
|
23
|
+
```text
|
24
|
+
Options:
|
25
|
+
-V, [--verbose]
|
26
|
+
-D, [--dryrun]
|
27
|
+
-v, [--version]
|
28
|
+
|
29
|
+
```
|
30
|
+
|
31
|
+
|
32
|
+
## Details
|
33
|
+
### <a name="login"></a>login
|
34
|
+
|
35
|
+
```text
|
36
|
+
magellan-cli login
|
37
|
+
```
|
38
|
+
|
39
|
+
```text
|
40
|
+
Options:
|
41
|
+
-e, [--email=EMAIL] # email address for login
|
42
|
+
-p, [--password=PASSWORD] # password for login
|
43
|
+
|
44
|
+
```
|
45
|
+
|
46
|
+
Login to the Magellan server
|
47
|
+
|
48
|
+
### <a name="info"></a>info
|
49
|
+
|
50
|
+
```text
|
51
|
+
magellan-cli info
|
52
|
+
```
|
53
|
+
|
54
|
+
Show login user and selected resources
|
55
|
+
|
56
|
+
### <a name="help"></a>help
|
57
|
+
|
58
|
+
```text
|
59
|
+
magellan-cli help [COMMAND]
|
60
|
+
```
|
61
|
+
|
62
|
+
Describe available commands or one specific command
|
63
|
+
|
@@ -0,0 +1,83 @@
|
|
1
|
+
---
|
2
|
+
layout: index
|
3
|
+
breadcrumb: <a href="/">Top</a> / <a href="/reference">Reference</a> / <a href="/reference/magellan-cli">magellan-cli</a> / organization
|
4
|
+
---
|
5
|
+
|
6
|
+
## Commands
|
7
|
+
|
8
|
+
- [magellan-cli list](#list)
|
9
|
+
- [magellan-cli show [ID]](#show)
|
10
|
+
- [magellan-cli select NAME](#select)
|
11
|
+
- [magellan-cli deselect](#deselect)
|
12
|
+
- [magellan-cli delete NAME](#delete)
|
13
|
+
- [magellan-cli create NAME](#create)
|
14
|
+
- [magellan-cli help [COMMAND]](#help)
|
15
|
+
|
16
|
+
## Global Options
|
17
|
+
|
18
|
+
```text
|
19
|
+
Options:
|
20
|
+
-V, [--verbose]
|
21
|
+
-D, [--dryrun]
|
22
|
+
-v, [--version]
|
23
|
+
|
24
|
+
```
|
25
|
+
|
26
|
+
|
27
|
+
## Details
|
28
|
+
### <a name="list"></a>list
|
29
|
+
|
30
|
+
```text
|
31
|
+
magellan-cli list
|
32
|
+
```
|
33
|
+
|
34
|
+
Show a list of the organizations
|
35
|
+
|
36
|
+
### <a name="show"></a>show
|
37
|
+
|
38
|
+
```text
|
39
|
+
magellan-cli show [ID]
|
40
|
+
```
|
41
|
+
|
42
|
+
Show the detail of the organization specified by ID
|
43
|
+
|
44
|
+
### <a name="select"></a>select
|
45
|
+
|
46
|
+
```text
|
47
|
+
magellan-cli select NAME
|
48
|
+
```
|
49
|
+
|
50
|
+
Select the organization by NAME
|
51
|
+
|
52
|
+
### <a name="deselect"></a>deselect
|
53
|
+
|
54
|
+
```text
|
55
|
+
magellan-cli deselect
|
56
|
+
```
|
57
|
+
|
58
|
+
Deselect the organization
|
59
|
+
|
60
|
+
### <a name="delete"></a>delete
|
61
|
+
|
62
|
+
```text
|
63
|
+
magellan-cli delete NAME
|
64
|
+
```
|
65
|
+
|
66
|
+
Delete the organization specified by NAME
|
67
|
+
|
68
|
+
### <a name="create"></a>create
|
69
|
+
|
70
|
+
```text
|
71
|
+
magellan-cli create NAME
|
72
|
+
```
|
73
|
+
|
74
|
+
Create a new organization with NAME
|
75
|
+
|
76
|
+
### <a name="help"></a>help
|
77
|
+
|
78
|
+
```text
|
79
|
+
magellan-cli help [COMMAND]
|
80
|
+
```
|
81
|
+
|
82
|
+
Describe available commands or one specific command
|
83
|
+
|
@@ -0,0 +1,92 @@
|
|
1
|
+
---
|
2
|
+
layout: index
|
3
|
+
breadcrumb: <a href="/">Top</a> / <a href="/reference">Reference</a> / <a href="/reference/magellan-cli">magellan-cli</a> / project
|
4
|
+
---
|
5
|
+
|
6
|
+
## Commands
|
7
|
+
|
8
|
+
- [magellan-cli list](#list)
|
9
|
+
- [magellan-cli show [ID]](#show)
|
10
|
+
- [magellan-cli select NAME](#select)
|
11
|
+
- [magellan-cli deselect](#deselect)
|
12
|
+
- [magellan-cli delete NAME](#delete)
|
13
|
+
- [magellan-cli update ATTRIBUTES](#update)
|
14
|
+
- [magellan-cli create NAME](#create)
|
15
|
+
- [magellan-cli help [COMMAND]](#help)
|
16
|
+
|
17
|
+
## Global Options
|
18
|
+
|
19
|
+
```text
|
20
|
+
Options:
|
21
|
+
-V, [--verbose]
|
22
|
+
-D, [--dryrun]
|
23
|
+
-v, [--version]
|
24
|
+
|
25
|
+
```
|
26
|
+
|
27
|
+
|
28
|
+
## Details
|
29
|
+
### <a name="list"></a>list
|
30
|
+
|
31
|
+
```text
|
32
|
+
magellan-cli list
|
33
|
+
```
|
34
|
+
|
35
|
+
Show a list of the projects
|
36
|
+
|
37
|
+
### <a name="show"></a>show
|
38
|
+
|
39
|
+
```text
|
40
|
+
magellan-cli show [ID]
|
41
|
+
```
|
42
|
+
|
43
|
+
Show the detail of the project specified by ID
|
44
|
+
|
45
|
+
### <a name="select"></a>select
|
46
|
+
|
47
|
+
```text
|
48
|
+
magellan-cli select NAME
|
49
|
+
```
|
50
|
+
|
51
|
+
Select the project by NAME
|
52
|
+
|
53
|
+
### <a name="deselect"></a>deselect
|
54
|
+
|
55
|
+
```text
|
56
|
+
magellan-cli deselect
|
57
|
+
```
|
58
|
+
|
59
|
+
Deselect the project
|
60
|
+
|
61
|
+
### <a name="delete"></a>delete
|
62
|
+
|
63
|
+
```text
|
64
|
+
magellan-cli delete NAME
|
65
|
+
```
|
66
|
+
|
67
|
+
Delete the project specified by NAME
|
68
|
+
|
69
|
+
### <a name="update"></a>update
|
70
|
+
|
71
|
+
```text
|
72
|
+
magellan-cli update ATTRIBUTES
|
73
|
+
```
|
74
|
+
|
75
|
+
Update the ATTRIBUTES of the selected project
|
76
|
+
|
77
|
+
### <a name="create"></a>create
|
78
|
+
|
79
|
+
```text
|
80
|
+
magellan-cli create NAME
|
81
|
+
```
|
82
|
+
|
83
|
+
Create a new project with NAME
|
84
|
+
|
85
|
+
### <a name="help"></a>help
|
86
|
+
|
87
|
+
```text
|
88
|
+
magellan-cli help [COMMAND]
|
89
|
+
```
|
90
|
+
|
91
|
+
Describe available commands or one specific command
|
92
|
+
|
@@ -0,0 +1,181 @@
|
|
1
|
+
---
|
2
|
+
layout: index
|
3
|
+
breadcrumb: <a href="/">Top</a> / <a href="/reference">Reference</a> / <a href="/reference/magellan-cli">magellan-cli</a> / stage
|
4
|
+
---
|
5
|
+
|
6
|
+
## Commands
|
7
|
+
|
8
|
+
- [magellan-cli list](#list)
|
9
|
+
- [magellan-cli show [ID]](#show)
|
10
|
+
- [magellan-cli select NAME](#select)
|
11
|
+
- [magellan-cli deselect](#deselect)
|
12
|
+
- [magellan-cli delete NAME](#delete)
|
13
|
+
- [magellan-cli create NAME [-t development|staging|production|other]](#create)
|
14
|
+
- [magellan-cli planning](#planning)
|
15
|
+
- [magellan-cli current](#current)
|
16
|
+
- [magellan-cli prepare](#prepare)
|
17
|
+
- [magellan-cli repair](#repair)
|
18
|
+
- [magellan-cli update ATTRIBUTES](#update)
|
19
|
+
- [magellan-cli release_now](#release_now)
|
20
|
+
- [magellan-cli logs](#logs)
|
21
|
+
- [magellan-cli set_container_num NUM](#set_container_num)
|
22
|
+
- [magellan-cli reload](#reload)
|
23
|
+
- [magellan-cli help [COMMAND]](#help)
|
24
|
+
|
25
|
+
## Global Options
|
26
|
+
|
27
|
+
```text
|
28
|
+
Options:
|
29
|
+
-V, [--verbose]
|
30
|
+
-D, [--dryrun]
|
31
|
+
-v, [--version]
|
32
|
+
|
33
|
+
```
|
34
|
+
|
35
|
+
|
36
|
+
## Details
|
37
|
+
### <a name="list"></a>list
|
38
|
+
|
39
|
+
```text
|
40
|
+
magellan-cli list
|
41
|
+
```
|
42
|
+
|
43
|
+
Show a list of the stages
|
44
|
+
|
45
|
+
### <a name="show"></a>show
|
46
|
+
|
47
|
+
```text
|
48
|
+
magellan-cli show [ID]
|
49
|
+
```
|
50
|
+
|
51
|
+
Show the detail of the stage specified by ID
|
52
|
+
|
53
|
+
### <a name="select"></a>select
|
54
|
+
|
55
|
+
```text
|
56
|
+
magellan-cli select NAME
|
57
|
+
```
|
58
|
+
|
59
|
+
Select the stage by NAME
|
60
|
+
|
61
|
+
### <a name="deselect"></a>deselect
|
62
|
+
|
63
|
+
```text
|
64
|
+
magellan-cli deselect
|
65
|
+
```
|
66
|
+
|
67
|
+
Deselect the stage
|
68
|
+
|
69
|
+
### <a name="delete"></a>delete
|
70
|
+
|
71
|
+
```text
|
72
|
+
magellan-cli delete NAME
|
73
|
+
```
|
74
|
+
|
75
|
+
Delete the stage specified by NAME
|
76
|
+
|
77
|
+
### <a name="create"></a>create
|
78
|
+
|
79
|
+
```text
|
80
|
+
magellan-cli create NAME [-t development|staging|production|other]
|
81
|
+
```
|
82
|
+
|
83
|
+
```text
|
84
|
+
Options:
|
85
|
+
[-t=T] # -t development|staging|production. specify Stage Type
|
86
|
+
# Default: development
|
87
|
+
|
88
|
+
```
|
89
|
+
|
90
|
+
Create a new stage with Name and Type
|
91
|
+
|
92
|
+
### <a name="planning"></a>planning
|
93
|
+
|
94
|
+
```text
|
95
|
+
magellan-cli planning
|
96
|
+
```
|
97
|
+
|
98
|
+
Switch to planning to build next released version
|
99
|
+
|
100
|
+
### <a name="current"></a>current
|
101
|
+
|
102
|
+
```text
|
103
|
+
magellan-cli current
|
104
|
+
```
|
105
|
+
|
106
|
+
Switch to current released version
|
107
|
+
|
108
|
+
### <a name="prepare"></a>prepare
|
109
|
+
|
110
|
+
```text
|
111
|
+
magellan-cli prepare
|
112
|
+
```
|
113
|
+
|
114
|
+
Prepare the containers
|
115
|
+
|
116
|
+
### <a name="repair"></a>repair
|
117
|
+
|
118
|
+
```text
|
119
|
+
magellan-cli repair
|
120
|
+
```
|
121
|
+
|
122
|
+
Repair the stage status
|
123
|
+
|
124
|
+
### <a name="update"></a>update
|
125
|
+
|
126
|
+
```text
|
127
|
+
magellan-cli update ATTRIBUTES
|
128
|
+
```
|
129
|
+
|
130
|
+
Update the ATTRIBUTES of the selected stage
|
131
|
+
|
132
|
+
### <a name="release_now"></a>release_now
|
133
|
+
|
134
|
+
```text
|
135
|
+
magellan-cli release_now
|
136
|
+
```
|
137
|
+
|
138
|
+
```text
|
139
|
+
Options:
|
140
|
+
[-A] # -A async mode. release_now returns soon
|
141
|
+
[-i=N] # -i polling interval(seconds)
|
142
|
+
# Default: 10
|
143
|
+
[-t=N] # -t timeout(seconds)
|
144
|
+
# Default: 600
|
145
|
+
|
146
|
+
```
|
147
|
+
|
148
|
+
Release the changes now
|
149
|
+
|
150
|
+
### <a name="logs"></a>logs
|
151
|
+
|
152
|
+
```text
|
153
|
+
magellan-cli logs
|
154
|
+
```
|
155
|
+
|
156
|
+
Fetch the logs of the workers
|
157
|
+
|
158
|
+
### <a name="set_container_num"></a>set_container_num
|
159
|
+
|
160
|
+
```text
|
161
|
+
magellan-cli set_container_num NUM
|
162
|
+
```
|
163
|
+
|
164
|
+
Set the number of containers for the selected image
|
165
|
+
|
166
|
+
### <a name="reload"></a>reload
|
167
|
+
|
168
|
+
```text
|
169
|
+
magellan-cli reload
|
170
|
+
```
|
171
|
+
|
172
|
+
Reload the last selections
|
173
|
+
|
174
|
+
### <a name="help"></a>help
|
175
|
+
|
176
|
+
```text
|
177
|
+
magellan-cli help [COMMAND]
|
178
|
+
```
|
179
|
+
|
180
|
+
Describe available commands or one specific command
|
181
|
+
|
@@ -0,0 +1,74 @@
|
|
1
|
+
---
|
2
|
+
layout: index
|
3
|
+
breadcrumb: <a href="/">Top</a> / <a href="/reference">Reference</a> / <a href="/reference/magellan-cli">magellan-cli</a> / team
|
4
|
+
---
|
5
|
+
|
6
|
+
## Commands
|
7
|
+
|
8
|
+
- [magellan-cli list](#list)
|
9
|
+
- [magellan-cli show [ID]](#show)
|
10
|
+
- [magellan-cli select NAME](#select)
|
11
|
+
- [magellan-cli deselect](#deselect)
|
12
|
+
- [magellan-cli create NAME ROLE](#create)
|
13
|
+
- [magellan-cli help [COMMAND]](#help)
|
14
|
+
|
15
|
+
## Global Options
|
16
|
+
|
17
|
+
```text
|
18
|
+
Options:
|
19
|
+
-V, [--verbose]
|
20
|
+
-D, [--dryrun]
|
21
|
+
-v, [--version]
|
22
|
+
|
23
|
+
```
|
24
|
+
|
25
|
+
|
26
|
+
## Details
|
27
|
+
### <a name="list"></a>list
|
28
|
+
|
29
|
+
```text
|
30
|
+
magellan-cli list
|
31
|
+
```
|
32
|
+
|
33
|
+
Show a list of the teams
|
34
|
+
|
35
|
+
### <a name="show"></a>show
|
36
|
+
|
37
|
+
```text
|
38
|
+
magellan-cli show [ID]
|
39
|
+
```
|
40
|
+
|
41
|
+
Show the detail of the team specified by ID
|
42
|
+
|
43
|
+
### <a name="select"></a>select
|
44
|
+
|
45
|
+
```text
|
46
|
+
magellan-cli select NAME
|
47
|
+
```
|
48
|
+
|
49
|
+
Select the team by NAME
|
50
|
+
|
51
|
+
### <a name="deselect"></a>deselect
|
52
|
+
|
53
|
+
```text
|
54
|
+
magellan-cli deselect
|
55
|
+
```
|
56
|
+
|
57
|
+
Deselect the team
|
58
|
+
|
59
|
+
### <a name="create"></a>create
|
60
|
+
|
61
|
+
```text
|
62
|
+
magellan-cli create NAME ROLE
|
63
|
+
```
|
64
|
+
|
65
|
+
Create a new team with NAME and ROLE
|
66
|
+
|
67
|
+
### <a name="help"></a>help
|
68
|
+
|
69
|
+
```text
|
70
|
+
magellan-cli help [COMMAND]
|
71
|
+
```
|
72
|
+
|
73
|
+
Describe available commands or one specific command
|
74
|
+
|
@@ -0,0 +1,107 @@
|
|
1
|
+
---
|
2
|
+
layout: index
|
3
|
+
breadcrumb: <a href="/">Top</a> / <a href="/reference">Reference</a> / <a href="/reference/magellan-cli">magellan-cli</a> / worker
|
4
|
+
---
|
5
|
+
|
6
|
+
## Commands
|
7
|
+
|
8
|
+
- [magellan-cli list](#list)
|
9
|
+
- [magellan-cli show [ID]](#show)
|
10
|
+
- [magellan-cli select NAME](#select)
|
11
|
+
- [magellan-cli deselect](#deselect)
|
12
|
+
- [magellan-cli delete NAME](#delete)
|
13
|
+
- [magellan-cli create NAME IMAGE](#create)
|
14
|
+
- [magellan-cli update ATTRIBUTES](#update)
|
15
|
+
- [magellan-cli prepare_images](#prepare_images)
|
16
|
+
- [magellan-cli help [COMMAND]](#help)
|
17
|
+
|
18
|
+
## Global Options
|
19
|
+
|
20
|
+
```text
|
21
|
+
Options:
|
22
|
+
-V, [--verbose]
|
23
|
+
-D, [--dryrun]
|
24
|
+
-v, [--version]
|
25
|
+
|
26
|
+
```
|
27
|
+
|
28
|
+
|
29
|
+
## Details
|
30
|
+
### <a name="list"></a>list
|
31
|
+
|
32
|
+
```text
|
33
|
+
magellan-cli list
|
34
|
+
```
|
35
|
+
|
36
|
+
Show a list of the workers
|
37
|
+
|
38
|
+
### <a name="show"></a>show
|
39
|
+
|
40
|
+
```text
|
41
|
+
magellan-cli show [ID]
|
42
|
+
```
|
43
|
+
|
44
|
+
Show the detail of the worker specified by ID
|
45
|
+
|
46
|
+
### <a name="select"></a>select
|
47
|
+
|
48
|
+
```text
|
49
|
+
magellan-cli select NAME
|
50
|
+
```
|
51
|
+
|
52
|
+
Select the worker by NAME
|
53
|
+
|
54
|
+
### <a name="deselect"></a>deselect
|
55
|
+
|
56
|
+
```text
|
57
|
+
magellan-cli deselect
|
58
|
+
```
|
59
|
+
|
60
|
+
Deselect the worker
|
61
|
+
|
62
|
+
### <a name="delete"></a>delete
|
63
|
+
|
64
|
+
```text
|
65
|
+
magellan-cli delete NAME
|
66
|
+
```
|
67
|
+
|
68
|
+
Delete the worker specified by NAME
|
69
|
+
|
70
|
+
### <a name="create"></a>create
|
71
|
+
|
72
|
+
```text
|
73
|
+
magellan-cli create NAME IMAGE
|
74
|
+
```
|
75
|
+
|
76
|
+
```text
|
77
|
+
Options:
|
78
|
+
-A, [--attributes-yaml=ATTRIBUTES_YAML] # path to YAML file which defines attributes
|
79
|
+
|
80
|
+
```
|
81
|
+
|
82
|
+
Create a new worker with NAME and IMAGE
|
83
|
+
|
84
|
+
### <a name="update"></a>update
|
85
|
+
|
86
|
+
```text
|
87
|
+
magellan-cli update ATTRIBUTES
|
88
|
+
```
|
89
|
+
|
90
|
+
Update the ATTRIBUTES(filename or JSON) of the selected worker
|
91
|
+
|
92
|
+
### <a name="prepare_images"></a>prepare_images
|
93
|
+
|
94
|
+
```text
|
95
|
+
magellan-cli prepare_images
|
96
|
+
```
|
97
|
+
|
98
|
+
Prepare the images for the selected worker
|
99
|
+
|
100
|
+
### <a name="help"></a>help
|
101
|
+
|
102
|
+
```text
|
103
|
+
magellan-cli help [COMMAND]
|
104
|
+
```
|
105
|
+
|
106
|
+
Describe available commands or one specific command
|
107
|
+
|