Class: Appfront::Command::Alias
- Defined in:
- lib/appfront/command/alias.rb
Class Method Summary collapse
- .create(args, opts) ⇒ Object
- .info(args, opts) ⇒ Object
- .login(*opts) ⇒ Object
- .logout(*opts) ⇒ Object
- .ls(*opts) ⇒ Object
- .signup(*opts) ⇒ Object
- .version(*opts) ⇒ Object
Class Method Details
.create(args, opts) ⇒ Object
22 23 24 |
# File 'lib/appfront/command/alias.rb', line 22 def self.create(args, opts) Appfront::Command::Deploys.create args, opts end |
.info(args, opts) ⇒ Object
26 27 28 |
# File 'lib/appfront/command/alias.rb', line 26 def self.info(args, opts) Appfront::Command::Deploys.info opts end |
.login(*opts) ⇒ Object
2 3 4 |
# File 'lib/appfront/command/alias.rb', line 2 def self.login(*opts) Appfront::Command::Auth.login end |
.logout(*opts) ⇒ Object
10 11 12 |
# File 'lib/appfront/command/alias.rb', line 10 def self.logout(*opts) Appfront::Command::Auth.logout end |
.ls(*opts) ⇒ Object
18 19 20 |
# File 'lib/appfront/command/alias.rb', line 18 def self.ls(*opts) Appfront::Command::Deploys.list end |
.signup(*opts) ⇒ Object
6 7 8 |
# File 'lib/appfront/command/alias.rb', line 6 def self.signup(*opts) Appfront::Command::Auth.signup end |
.version(*opts) ⇒ Object
14 15 16 |
# File 'lib/appfront/command/alias.rb', line 14 def self.version(*opts) puts 'Appfront CLI 1.1.2' end |