magellan-cli 0.7.11 → 0.8.0

Sign up to get free protection for your applications and to get access to all the features.
Files changed (55) hide show
  1. checksums.yaml +4 -4
  2. data/Gemfile.lock +2 -2
  3. data/README.md +6 -16
  4. data/Rakefile +32 -4
  5. data/lib/magellan/cli/command.rb +1 -1
  6. data/lib/magellan/cli/messaging/base.rb +2 -2
  7. data/lib/magellan/cli/reference_generator.rb +2 -1
  8. data/lib/magellan/cli/resources/stage.rb +4 -4
  9. data/lib/magellan/cli/version.rb +1 -1
  10. data/lib/magellan/cli.rb +0 -1
  11. data/reference/en/index.md +20 -15
  12. data/reference/en/messaging/http.md +117 -0
  13. data/reference/en/messaging/mqtt.md +48 -0
  14. data/reference/en/resources/authority.md +93 -0
  15. data/reference/en/resources/client_version.md +99 -0
  16. data/reference/en/resources/cloudsql.md +94 -0
  17. data/reference/en/resources/container.md +66 -0
  18. data/reference/en/resources/image.md +66 -0
  19. data/reference/en/resources/organization.md +84 -0
  20. data/reference/en/resources/project.md +93 -0
  21. data/reference/en/resources/stage.md +182 -0
  22. data/reference/en/resources/team.md +84 -0
  23. data/reference/en/resources/worker.md +108 -0
  24. data/reference/ja/index.md +20 -15
  25. data/reference/ja/messaging/http.md +117 -0
  26. data/reference/ja/messaging/mqtt.md +48 -0
  27. data/reference/ja/resources/authority.md +93 -0
  28. data/reference/ja/resources/client_version.md +99 -0
  29. data/reference/ja/resources/cloudsql.md +94 -0
  30. data/reference/ja/resources/container.md +66 -0
  31. data/reference/ja/resources/image.md +66 -0
  32. data/reference/ja/resources/organization.md +84 -0
  33. data/reference/ja/resources/project.md +93 -0
  34. data/reference/ja/resources/stage.md +182 -0
  35. data/reference/ja/resources/team.md +84 -0
  36. data/reference/ja/resources/worker.md +108 -0
  37. metadata +26 -20
  38. data/reference/en/client_version.md +0 -83
  39. data/reference/en/cloudsql.md +0 -93
  40. data/reference/en/container.md +0 -65
  41. data/reference/en/image.md +0 -65
  42. data/reference/en/organization.md +0 -83
  43. data/reference/en/project.md +0 -92
  44. data/reference/en/stage.md +0 -181
  45. data/reference/en/team.md +0 -74
  46. data/reference/en/worker.md +0 -107
  47. data/reference/ja/client_version.md +0 -83
  48. data/reference/ja/cloudsql.md +0 -93
  49. data/reference/ja/container.md +0 -65
  50. data/reference/ja/image.md +0 -65
  51. data/reference/ja/organization.md +0 -83
  52. data/reference/ja/project.md +0 -92
  53. data/reference/ja/stage.md +0 -181
  54. data/reference/ja/team.md +0 -74
  55. data/reference/ja/worker.md +0 -107
checksums.yaml CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA1:
3
- metadata.gz: 7cd91c5264b5b8b3aa6e0a7172e7b68fef0bfd82
4
- data.tar.gz: 419ff7705b031d3ff303fa133656db92d6c6ff08
3
+ metadata.gz: 52015bf6bf212d66d63f93c9dcfeeb180177eafb
4
+ data.tar.gz: 2f34bc88bee4ad299e8da758af0c5859e65f170c
5
5
  SHA512:
6
- metadata.gz: 28d06fad824df305db85e0d3e8d2ebe0bc0deba5931f4389a8a8f237ac5f3a00c0f14d4f70eff6d942f111568043cc72fc6d812c92ad2c3e8a3ed21d0f2ae2c0
7
- data.tar.gz: 42b3ec7c4912d5528da0b0fc6c91572528b308043bd553380af37fa6fe370a684b2f7376fdf95b6873d1bd3ad299c07436150cfde3f211b5bbd891fee4594607
6
+ metadata.gz: dd4d4a13201c7452a44e17ec9e1a6892a5bf4cdd378599452159367efc08a108700ed73e8d3b1ec14061b25cfc0fb37d2a15d708d71097d378c6e20282da32f6
7
+ data.tar.gz: 00e798cb3ed9ddccf15c17b98cff4f8af15d12a054e8fff4e30f9912857ddcfa63c898f016b1023baba80f5601ca201639f6fcd2657d87aa41ed7647689712e2
data/Gemfile.lock CHANGED
@@ -1,7 +1,7 @@
1
1
  PATH
2
2
  remote: .
3
3
  specs:
4
- magellan-cli (0.7.11)
4
+ magellan-cli (0.8.0)
5
5
  activesupport (~> 4.1.4)
6
6
  groovenauts-thor
7
7
  httpclient (~> 2.5)
@@ -48,7 +48,7 @@ GEM
48
48
  signet (~> 0.5.0)
49
49
  method_source (0.8.2)
50
50
  mini_portile (0.6.2)
51
- minitest (5.6.0)
51
+ minitest (5.6.1)
52
52
  mqtt (0.3.1)
53
53
  multi_json (1.10.1)
54
54
  multipart-post (2.0.0)
data/README.md CHANGED
@@ -28,34 +28,24 @@ Or install it yourself as:
28
28
 
29
29
  ## generate reference pages
30
30
 
31
- ```
32
- LANG=en DEST=. SUBDIR=reference/$LANG bundle exec rake reference
33
- LANG=ja DEST=. SUBDIR=reference/$LANG bundle exec rake reference
34
- ```
35
-
36
-
31
+ update `references` dir in this repository.
37
32
 
38
33
  ```
39
- export DEVCENTER_DIR=/path/to/magellan-devcenter.github.io
40
- LANG=en DEST=$DEVCENTER_DIR SUBDIR=reference/magellan-cli/$LANG bundle exec rake reference
41
- LANG=ja DEST=$DEVCENTER_DIR SUBDIR=reference/magellan-cli/$LANG bundle exec rake reference
34
+ bundle exec rake reference
42
35
  ```
43
36
 
44
- then
37
+ update `references` dir in devcenter repository
38
+
45
39
 
46
40
  ```
47
- cd /path/to/magellan-devcenter.github.io
48
- bundle exec jekyll serve
41
+ bundle exec rake reference:devcenter
49
42
  ```
50
43
 
51
- open http://localhost:4000/reference/magellan-cli/en
52
- open http://localhost:4000/reference/magellan-cli/ja
44
+ then check the references updated.
53
45
 
54
46
  After check the pages, you can commit the .md files to magellan-devcenter.github.io repogitory.
55
47
 
56
48
 
57
-
58
-
59
49
  ## Contributing
60
50
 
61
51
  1. Fork it ( https://github.com/[my-github-username]/magellan-cli/fork )
data/Rakefile CHANGED
@@ -23,9 +23,37 @@ module Bundler
23
23
  end
24
24
  end
25
25
 
26
- desc "generate reference options: DEST, SUBDIR"
26
+ langs = %w[en ja]
27
+
28
+ namespace :reference do
29
+ langs.each do |lang|
30
+ desc "generate reference in #{lang}, options: DEST, SUBDIR"
31
+ task lang.to_sym do
32
+ require "magellan/cli/reference_generator"
33
+ ENV["LANG"] = lang
34
+ I18n.locale = lang.to_sym
35
+ gen = Magellan::Cli::ReferenceGenerator.new(dest: ENV["DEST"] || ".", subdir: ENV['SUBDIR'] || "reference/#{lang}")
36
+ gen.run
37
+ end
38
+ end
39
+
40
+ desc "generate reference for devcenter"
41
+ task :devcenter do
42
+ dest = ENV["DEST"] ||= File.expand_path("../../../magellan-devcenter.github.io/content", __FILE__)
43
+ raise "directory not found: #{dest}" unless Dir.exist?(dest)
44
+ langs.each do |lang|
45
+ ENV["SUBDIR"] = "reference/magellan-cli/#{lang}"
46
+ system("bundle exec rake reference:#{lang}")
47
+ end
48
+ end
49
+ end
50
+
51
+ desc "generate reference in #{langs.join(', ')}, options: DEST, SUBDIR"
52
+ # 本当はこんなふうに書けると嬉しいけど、一度ロードされたクラスを
53
+ # LANGを変更して再ロードするのはしんどいので、別のプロセスで実行します
54
+ # task :reference => langs.map{|lang| :"reference:#{lang}"}
27
55
  task :reference do
28
- require 'magellan/cli'
29
- gen = Magellan::Cli::ReferenceGenerator.new(dest: ENV["DEST"] || "doc", subdir: ENV["SUBDIR"])
30
- gen.run
56
+ langs.each{|lang| system("bundle exec rake reference:#{lang}")}
31
57
  end
58
+
59
+ Rake::Task[:release].enhance([:reference])
@@ -121,7 +121,7 @@ module Magellan
121
121
  no_commands do
122
122
 
123
123
  def select_single_resources
124
- %w[Organization Project ClientVersion Stage Worker Image].each do |class_name|
124
+ %w[Organization Project ClientVersion Stage Worker Image Cloudsql].each do |class_name|
125
125
  klass = Magellan::Cli::Resources.const_get(class_name)
126
126
  cmd = klass.new
127
127
  res = cmd.send(:query_list)
@@ -26,8 +26,8 @@ module Magellan
26
26
  r = get_json("/admin/#{klass.resource_key}/#{id}.json")
27
27
  end
28
28
 
29
- DEFAULT_MAGELLAN_HTTP_SERVER_URL = "https://nebula-001-web.magellanic-clouds.com".freeze
30
- DEFAULT_MAGELLAN_MQTT_SERVER_HOST = "nebula-001-mqtt.magellanic-clouds.com".freeze
29
+ DEFAULT_MAGELLAN_HTTP_SERVER_URL = "https://nebula-001a-web.magellanic-clouds.net".freeze
30
+ DEFAULT_MAGELLAN_MQTT_SERVER_HOST = "nebula-001a-mqtt.magellanic-clouds.net".freeze
31
31
  DEFAULT_MAGELLAN_MQTT_SERVER_PORT = 1883
32
32
 
33
33
  def build_core
@@ -15,7 +15,8 @@ module Magellan
15
15
  def run
16
16
  @shell = Thor::Shell::Basic.new
17
17
  change_global_var_temporarily(["$PROGRAM_NAME", "magellan-cli"]) do
18
- process(Magellan::Cli::Command, "index.md")
18
+ k = Magellan::Cli::Command
19
+ process(k, "index.md")
19
20
  Magellan::Cli::Resources::MAPPING.each do |class_name, name|
20
21
  klass = Magellan::Cli::Resources.const_get(class_name)
21
22
  process(klass, "resources/#{name}.md", name)
@@ -55,8 +55,8 @@ module Magellan
55
55
  # q = build_query("title" => r["id"], "phase" => 2) # 2: current
56
56
  # update_first_result(VERSION_PARAMETER_NAME, "phase=2", "/admin/stage~version.json", q, %w[id])
57
57
 
58
- # # workspace
59
- q = build_query("title" => r["id"], "phase" => 1) # 1: workspace
58
+ # # planning
59
+ q = build_query("title" => r["id"], "phase" => 1) # 1: planning
60
60
  update_first_result(VERSION_PARAMETER_NAME, "phase=1", "/admin/stage~version.json", q, %w[id])
61
61
  end
62
62
 
@@ -79,7 +79,7 @@ module Magellan
79
79
  no_commands do
80
80
  def switch_version(phase)
81
81
  s = load_selection!(self.class)
82
- q = build_query("title" => s["id"], "phase" => phase) # 1: workspace, 2: current, 3: used
82
+ q = build_query("title" => s["id"], "phase" => phase) # 1: planning, 2: current, 3: used
83
83
  update_first_result(VERSION_PARAMETER_NAME, "phase=#{phase}", "/admin/stage~version.json", q, %w[id])
84
84
  end
85
85
  end
@@ -116,7 +116,7 @@ module Magellan
116
116
  desc "release_now", I18n.t(:release_now, scope: [:resources, :stage, :cmd])
117
117
  option :A, type: :boolean, default: false, desc: I18n.t(:async, scope: [:resources, :stage, :cmd_release_now])
118
118
  option :i, type: :numeric, default: 10, desc: I18n.t(:interval, scope: [:resources, :stage, :cmd_release_now])
119
- option :t, type: :numeric, default: 600, desc: I18n.t(:timeout, scope: [:resources, :stage, :cmd_release_now])
119
+ option :t, type: :numeric, default: 60 * 60, desc: I18n.t(:timeout, scope: [:resources, :stage, :cmd_release_now])
120
120
  def release_now
121
121
  spacer = "\r" << (" " * 20)
122
122
  stage = load_selection!(self.class)
@@ -1,5 +1,5 @@
1
1
  module Magellan
2
2
  module Cli
3
- VERSION = "0.7.11"
3
+ VERSION = "0.8.0"
4
4
  end
5
5
  end
data/lib/magellan/cli.rb CHANGED
@@ -22,7 +22,6 @@ module Magellan
22
22
  "Content-Type" => "application/json"
23
23
  }.freeze
24
24
 
25
- autoload :ReferenceGenerator, "magellan/cli/reference_generator"
26
25
  autoload :GemUpdate, "magellan/cli/gem_update"
27
26
 
28
27
  class << self
@@ -1,20 +1,24 @@
1
1
  ---
2
2
  layout: index
3
- breadcrumb: <a href="/">Top</a> / <a href="/reference">Reference</a> / <a href="/reference/magellan-cli">magellan-cli</a> /
3
+ title: magellan-cli-0.7 (en) | Reference
4
+ breadcrumb: <a href="/">Top</a> / <a href="/reference">Reference</a> / <a href="/reference/magellan-cli/en">magellan-cli-0.7</a> / en <a href="/reference/ja/index.html">ja</a>
4
5
  ---
5
6
 
6
7
  ## Commands
7
8
 
8
9
  - [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)
10
+ - [magellan-cli organization SUBCOMMAND ...ARGS](./resources/organization.html)
11
+ - [magellan-cli team SUBCOMMAND ...ARGS](./resources/team.html)
12
+ - [magellan-cli project SUBCOMMAND ...ARGS](./resources/project.html)
13
+ - [magellan-cli authority SUBCOMMAND ...ARGS](./resources/authority.html)
14
+ - [magellan-cli stage SUBCOMMAND ...ARGS](./resources/stage.html)
15
+ - [magellan-cli client_version SUBCOMMAND ...ARGS](./resources/client_version.html)
16
+ - [magellan-cli worker SUBCOMMAND ...ARGS](./resources/worker.html)
17
+ - [magellan-cli image SUBCOMMAND ...ARGS](./resources/image.html)
18
+ - [magellan-cli container SUBCOMMAND ...ARGS](./resources/container.html)
19
+ - [magellan-cli cloudsql SUBCOMMAND ...ARGS](./resources/cloudsql.html)
20
+ - [magellan-cli http SUBCOMMAND ...ARGS](./messaging/http.html)
21
+ - [magellan-cli mqtt SUBCOMMAND ...ARGS](./messaging/mqtt.html)
18
22
  - [magellan-cli info](#info)
19
23
  - [magellan-cli help [COMMAND]](#help)
20
24
 
@@ -22,9 +26,9 @@ breadcrumb: <a href="/">Top</a> / <a href="/reference">Reference</a> / <a href="
22
26
 
23
27
  ```text
24
28
  Options:
25
- -V, [--verbose]
26
- -D, [--dryrun]
27
- -v, [--version]
29
+ -v, [--version], [--no-version] # Show the program version
30
+ -V, [--verbose], [--no-verbose] # Show additional logging information
31
+ -D, [--dryrun], [--no-dryrun] # Do a dry run without executing actions
28
32
 
29
33
  ```
30
34
 
@@ -38,8 +42,9 @@ magellan-cli login
38
42
 
39
43
  ```text
40
44
  Options:
41
- -e, [--email=EMAIL] # email address for login
42
- -p, [--password=PASSWORD] # password for login
45
+ -e, [--email=EMAIL] # email address for login
46
+ -p, [--password=PASSWORD] # password for login
47
+ -t, [--authentication-token=AUTHENTICATION_TOKEN] # authentication token for login
43
48
 
44
49
  ```
45
50
 
@@ -0,0 +1,117 @@
1
+ ---
2
+ layout: index
3
+ title: http | magellan-cli-0.7 (en) | Reference
4
+ breadcrumb: <a href="/">Top</a> / <a href="/reference">Reference</a> / <a href="/reference/magellan-cli/en">magellan-cli-0.7</a> / http en <a href="/reference/ja/messaging/http.html">ja</a>
5
+ ---
6
+
7
+ ## Commands
8
+
9
+ - [magellan-cli http get PATH](#get)
10
+ - [magellan-cli http post PATH](#post)
11
+ - [magellan-cli http put PATH](#put)
12
+ - [magellan-cli http patch PATH](#patch)
13
+ - [magellan-cli http delete PATH](#delete)
14
+ - [magellan-cli http ping](#ping)
15
+ - [magellan-cli http help [COMMAND]](#help)
16
+
17
+ ## Global Options
18
+
19
+ ```text
20
+ Options:
21
+ -v, [--version], [--no-version] # Show the program version
22
+ -V, [--verbose], [--no-verbose] # Show additional logging information
23
+ -D, [--dryrun], [--no-dryrun] # Do a dry run without executing actions
24
+
25
+ ```
26
+
27
+
28
+ ## Details
29
+ ### <a name="get"></a>get
30
+
31
+ ```text
32
+ magellan-cli http get PATH
33
+ ```
34
+
35
+ ```text
36
+ Options:
37
+ -H, [--headers=HEADERS] # JSON style string or .yml or .json file path which has content
38
+
39
+ ```
40
+
41
+ Send a HTTP request with GET method
42
+
43
+ ### <a name="post"></a>post
44
+
45
+ ```text
46
+ magellan-cli http post PATH
47
+ ```
48
+
49
+ ```text
50
+ Options:
51
+ -d, [--body=BODY] # String or file path which has body
52
+ -H, [--headers=HEADERS] # JSON style string or .yml or .json file path which has content
53
+
54
+ ```
55
+
56
+ Send a HTTP request with POST method
57
+
58
+ ### <a name="put"></a>put
59
+
60
+ ```text
61
+ magellan-cli http put PATH
62
+ ```
63
+
64
+ ```text
65
+ Options:
66
+ -d, [--body=BODY] # String or file path which has body
67
+ -H, [--headers=HEADERS] # JSON style string or .yml or .json file path which has content
68
+
69
+ ```
70
+
71
+ Send a HTTP request with PUT method
72
+
73
+ ### <a name="patch"></a>patch
74
+
75
+ ```text
76
+ magellan-cli http patch PATH
77
+ ```
78
+
79
+ ```text
80
+ Options:
81
+ -d, [--body=BODY] # String or file path which has body
82
+ -H, [--headers=HEADERS] # JSON style string or .yml or .json file path which has content
83
+
84
+ ```
85
+
86
+ Send a HTTP request with PATCH method
87
+
88
+ ### <a name="delete"></a>delete
89
+
90
+ ```text
91
+ magellan-cli http delete PATH
92
+ ```
93
+
94
+ ```text
95
+ Options:
96
+ -H, [--headers=HEADERS] # JSON style string or .yml or .json file path which has content
97
+
98
+ ```
99
+
100
+ Send a HTTP request with DELETE method
101
+
102
+ ### <a name="ping"></a>ping
103
+
104
+ ```text
105
+ magellan-cli http ping
106
+ ```
107
+
108
+ Send a HTTP request to check connection
109
+
110
+ ### <a name="help"></a>help
111
+
112
+ ```text
113
+ magellan-cli http help [COMMAND]
114
+ ```
115
+
116
+ Describe available commands or one specific command
117
+
@@ -0,0 +1,48 @@
1
+ ---
2
+ layout: index
3
+ title: mqtt | magellan-cli-0.7 (en) | Reference
4
+ breadcrumb: <a href="/">Top</a> / <a href="/reference">Reference</a> / <a href="/reference/magellan-cli/en">magellan-cli-0.7</a> / mqtt en <a href="/reference/ja/messaging/mqtt.html">ja</a>
5
+ ---
6
+
7
+ ## Commands
8
+
9
+ - [magellan-cli mqtt pub TOPIC PAYLOAD](#pub)
10
+ - [magellan-cli mqtt get [TOPIC]](#get)
11
+ - [magellan-cli mqtt help [COMMAND]](#help)
12
+
13
+ ## Global Options
14
+
15
+ ```text
16
+ Options:
17
+ -v, [--version], [--no-version] # Show the program version
18
+ -V, [--verbose], [--no-verbose] # Show additional logging information
19
+ -D, [--dryrun], [--no-dryrun] # Do a dry run without executing actions
20
+
21
+ ```
22
+
23
+
24
+ ## Details
25
+ ### <a name="pub"></a>pub
26
+
27
+ ```text
28
+ magellan-cli mqtt pub TOPIC PAYLOAD
29
+ ```
30
+
31
+ Publish a message with a topic
32
+
33
+ ### <a name="get"></a>get
34
+
35
+ ```text
36
+ magellan-cli mqtt get [TOPIC]
37
+ ```
38
+
39
+ Get a message
40
+
41
+ ### <a name="help"></a>help
42
+
43
+ ```text
44
+ magellan-cli mqtt help [COMMAND]
45
+ ```
46
+
47
+ Describe available commands or one specific command
48
+
@@ -0,0 +1,93 @@
1
+ ---
2
+ layout: index
3
+ title: authority | magellan-cli-0.7 (en) | Reference
4
+ breadcrumb: <a href="/">Top</a> / <a href="/reference">Reference</a> / <a href="/reference/magellan-cli/en">magellan-cli-0.7</a> / authority en <a href="/reference/ja/resources/authority.html">ja</a>
5
+ ---
6
+
7
+ ## Commands
8
+
9
+ - [magellan-cli authority list](#list)
10
+ - [magellan-cli authority show [ID]](#show)
11
+ - [magellan-cli authority select ID](#select)
12
+ - [magellan-cli authority deselect](#deselect)
13
+ - [magellan-cli authority update ATTRIBUTES](#update)
14
+ - [magellan-cli authority create PROJECT_ROLE STAGE_ROLE STAGE_TYPE](#create)
15
+ - [magellan-cli authority delete ID](#delete)
16
+ - [magellan-cli authority help [COMMAND]](#help)
17
+
18
+ ## Global Options
19
+
20
+ ```text
21
+ Options:
22
+ -v, [--version], [--no-version] # Show the program version
23
+ -V, [--verbose], [--no-verbose] # Show additional logging information
24
+ -D, [--dryrun], [--no-dryrun] # Do a dry run without executing actions
25
+
26
+ ```
27
+
28
+
29
+ ## Details
30
+ ### <a name="list"></a>list
31
+
32
+ ```text
33
+ magellan-cli authority list
34
+ ```
35
+
36
+ Show a list of the authorities
37
+
38
+ ### <a name="show"></a>show
39
+
40
+ ```text
41
+ magellan-cli authority show [ID]
42
+ ```
43
+
44
+ Show the detail of the authority specified by ID
45
+
46
+ ### <a name="select"></a>select
47
+
48
+ ```text
49
+ magellan-cli authority select ID
50
+ ```
51
+
52
+ Select the authority by ID
53
+
54
+ ### <a name="deselect"></a>deselect
55
+
56
+ ```text
57
+ magellan-cli authority deselect
58
+ ```
59
+
60
+ Deselect the authority
61
+
62
+ ### <a name="update"></a>update
63
+
64
+ ```text
65
+ magellan-cli authority update ATTRIBUTES
66
+ ```
67
+
68
+ Update the ATTRIBUTES of the selected authority
69
+
70
+ ### <a name="create"></a>create
71
+
72
+ ```text
73
+ magellan-cli authority create PROJECT_ROLE STAGE_ROLE STAGE_TYPE
74
+ ```
75
+
76
+ Create a new authority with PROJECT_ROLE STAGE_ROLE STAGE_TYPE
77
+
78
+ ### <a name="delete"></a>delete
79
+
80
+ ```text
81
+ magellan-cli authority delete ID
82
+ ```
83
+
84
+ Delete the authority specified by ID
85
+
86
+ ### <a name="help"></a>help
87
+
88
+ ```text
89
+ magellan-cli authority help [COMMAND]
90
+ ```
91
+
92
+ Describe available commands or one specific command
93
+
@@ -0,0 +1,99 @@
1
+ ---
2
+ layout: index
3
+ title: client_version | magellan-cli-0.7 (en) | Reference
4
+ breadcrumb: <a href="/">Top</a> / <a href="/reference">Reference</a> / <a href="/reference/magellan-cli/en">magellan-cli-0.7</a> / client_version en <a href="/reference/ja/resources/client_version.html">ja</a>
5
+ ---
6
+
7
+ ## Commands
8
+
9
+ - [magellan-cli client_version list](#list)
10
+ - [magellan-cli client_version show [ID]](#show)
11
+ - [magellan-cli client_version select VERSION](#select)
12
+ - [magellan-cli client_version deselect](#deselect)
13
+ - [magellan-cli client_version create VERSION](#create)
14
+ - [magellan-cli client_version update ATTRIBUTES](#update)
15
+ - [magellan-cli client_version delete VERSION](#delete)
16
+ - [magellan-cli client_version help [COMMAND]](#help)
17
+
18
+ ## Global Options
19
+
20
+ ```text
21
+ Options:
22
+ -v, [--version], [--no-version] # Show the program version
23
+ -V, [--verbose], [--no-verbose] # Show additional logging information
24
+ -D, [--dryrun], [--no-dryrun] # Do a dry run without executing actions
25
+
26
+ ```
27
+
28
+
29
+ ## Details
30
+ ### <a name="list"></a>list
31
+
32
+ ```text
33
+ magellan-cli client_version list
34
+ ```
35
+
36
+ Show a list of the client_versions
37
+
38
+ ### <a name="show"></a>show
39
+
40
+ ```text
41
+ magellan-cli client_version show [ID]
42
+ ```
43
+
44
+ Show the detail of the client_version specified by ID
45
+
46
+ ### <a name="select"></a>select
47
+
48
+ ```text
49
+ magellan-cli client_version select VERSION
50
+ ```
51
+
52
+ Select the client_version by VERSION
53
+
54
+ ### <a name="deselect"></a>deselect
55
+
56
+ ```text
57
+ magellan-cli client_version deselect
58
+ ```
59
+
60
+ Deselect the client_version
61
+
62
+ ### <a name="create"></a>create
63
+
64
+ ```text
65
+ magellan-cli client_version create VERSION
66
+ ```
67
+
68
+ ```text
69
+ Options:
70
+ -d, [--domain=DOMAIN] # Domain name for HTTP access without OAuth
71
+
72
+ ```
73
+
74
+ Create a new client_version with VERSION
75
+
76
+ ### <a name="update"></a>update
77
+
78
+ ```text
79
+ magellan-cli client_version update ATTRIBUTES
80
+ ```
81
+
82
+ Update the ATTRIBUTES(filename or JSON) of the selected client_version
83
+
84
+ ### <a name="delete"></a>delete
85
+
86
+ ```text
87
+ magellan-cli client_version delete VERSION
88
+ ```
89
+
90
+ Delete the client_version specified by VERSION
91
+
92
+ ### <a name="help"></a>help
93
+
94
+ ```text
95
+ magellan-cli client_version help [COMMAND]
96
+ ```
97
+
98
+ Describe available commands or one specific command
99
+