Class: TRMNLP::CLI
- Inherits:
-
Thor
- Object
- Thor
- TRMNLP::CLI
- Defined in:
- lib/trmnlp/cli.rb
Class Method Summary collapse
Instance Method Summary collapse
- #build ⇒ Object
- #clone(name, id) ⇒ Object
- #init(name) ⇒ Object
- #login ⇒ Object
- #pull ⇒ Object
- #push ⇒ Object
- #serve ⇒ Object
- #version ⇒ Object
Class Method Details
.exit_on_failure? ⇒ Boolean
15 |
# File 'lib/trmnlp/cli.rb', line 15 def self.exit_on_failure? = true |
Instance Method Details
#build ⇒ Object
18 19 20 |
# File 'lib/trmnlp/cli.rb', line 18 def build Commands::Build.new().call end |
#clone(name, id) ⇒ Object
34 35 36 |
# File 'lib/trmnlp/cli.rb', line 34 def clone(name, id) Commands::Clone.new().call(name, id) end |
#init(name) ⇒ Object
29 30 31 |
# File 'lib/trmnlp/cli.rb', line 29 def init(name) Commands::Init.new().call(name) end |
#login ⇒ Object
23 24 25 |
# File 'lib/trmnlp/cli.rb', line 23 def login Commands::Login.new().call end |
#serve ⇒ Object
57 58 59 |
# File 'lib/trmnlp/cli.rb', line 57 def serve Commands::Serve.new().call end |
#version ⇒ Object
62 63 64 |
# File 'lib/trmnlp/cli.rb', line 62 def version puts VERSION end |