cloulu 0.1.6 → 0.2.0

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
data/lib/vmc/cli.rb CHANGED
@@ -26,6 +26,12 @@ module VMC
26
26
  option :help, :desc => "Show command usage", :alias => "-h",
27
27
  :default => false
28
28
 
29
+ option :proxy, :desc => "Run this command as another user (admin)", :alias => "-u",
30
+ :value => :email
31
+
32
+ option :http_proxy, :desc => "Connect though an http proxy server", :alias => "--http-proxy",
33
+ :value => :http_proxy
34
+
29
35
  option :version, :desc => "Print version number", :alias => "-v",
30
36
  :default => false
31
37
 
@@ -24,7 +24,7 @@ module VMC::App
24
24
  end
25
25
 
26
26
  desc "Set an environment variable"
27
- group :apps, :info, :hidden => true
27
+ group :apps, :info
28
28
  input :app, :desc => "Application to set the variable for",
29
29
  :argument => true, :from_given => by_name(:app)
30
30
  input :name, :desc => "Variable name", :argument => true
@@ -56,7 +56,7 @@ module VMC::App
56
56
 
57
57
 
58
58
  desc "Remove an environment variable"
59
- group :apps, :info, :hidden => true
59
+ group :apps, :info
60
60
  input :app, :desc => "Application to set the variable for",
61
61
  :argument => true, :from_given => by_name(:app)
62
62
  input :name, :desc => "Variable name", :argument => true
@@ -4,7 +4,7 @@ require "vmc/cli/app/base"
4
4
  module VMC::App
5
5
  class Files < Base
6
6
  desc "Print out an app's file contents"
7
- group :apps, :info, :hidden => true
7
+ group :apps, :info
8
8
  input :app, :desc => "Application to inspect the files of",
9
9
  :argument => true, :from_given => by_name(:app)
10
10
  input :path, :desc => "Path of file to read", :argument => :optional,
@@ -34,7 +34,7 @@ module VMC::App
34
34
  end
35
35
 
36
36
  desc "Examine an app's files"
37
- group :apps, :info, :hidden => true
37
+ group :apps, :info
38
38
  input :app, :desc => "Application to inspect the files of",
39
39
  :argument => true, :from_given => by_name(:app)
40
40
  input :path, :desc => "Path of directory to list", :argument => :optional,
@@ -62,7 +62,7 @@ module VMC::App
62
62
  end
63
63
 
64
64
  desc "Stream an app's file contents"
65
- group :apps, :info, :hidden => true
65
+ group :apps, :info
66
66
  input :app, :desc => "Application to inspect the files of",
67
67
  :argument => true, :from_given => by_name(:app)
68
68
  input :path, :desc => "Path of file to stream", :argument => :optional
@@ -33,7 +33,7 @@ module VMC::App
33
33
  end
34
34
 
35
35
  desc "Print out the logs for an app's crashed instances"
36
- group :apps, :info, :hidden => true
36
+ group :apps, :info
37
37
  input :app, :desc => "Application to get the logs of", :argument => true,
38
38
  :from_given => by_name(:app)
39
39
  def crashlogs
@@ -3,7 +3,7 @@ require "vmc/cli/app/base"
3
3
  module VMC::App
4
4
  class Rename < Base
5
5
  desc "Rename an application"
6
- group :apps, :manage, :hidden => true
6
+ group :apps, :manage
7
7
  input :app, :desc => "Application to rename", :argument => :optional,
8
8
  :from_given => by_name(:app)
9
9
  input :name, :desc => "New application name", :argument => :optional
data/lib/vmc/version.rb CHANGED
@@ -1,3 +1,3 @@
1
1
  module VMC
2
- VERSION = "0.1.6".freeze
2
+ VERSION = "0.2.0".freeze
3
3
  end
metadata CHANGED
@@ -1,7 +1,7 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: cloulu
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.1.6
4
+ version: 0.2.0
5
5
  prerelease:
6
6
  platform: ruby
7
7
  authors: