Class: DockerApp::CLI
- Inherits:
-
Thor
- Object
- Thor
- DockerApp::CLI
- Includes:
- Thor::Actions
- Defined in:
- lib/docker_app/cli.rb
Class Method Summary collapse
Instance Method Summary collapse
-
#build ⇒ Object
[build].
-
#clear_cache ⇒ Object
[clear_cache].
-
#destroy ⇒ Object
[destroy].
-
#destroy_image ⇒ Object
[destroy_image].
-
#generate ⇒ Object
[generate new project].
-
#start ⇒ Object
[start].
-
#stop ⇒ Object
[stop].
-
#up ⇒ Object
[up].
Class Method Details
.source_root ⇒ Object
5 6 7 8 |
# File 'lib/docker_app/cli.rb', line 5 def self.source_root #File.dirname(__FILE__) File.('../../templates', __FILE__) end |
Instance Method Details
#build ⇒ Object
- build
15 |
# File 'lib/docker_app/cli.rb', line 15 desc 'build', 'Build Docker image' |
#clear_cache ⇒ Object
- clear_cache
374 |
# File 'lib/docker_app/cli.rb', line 374 desc 'clear_cache', 'clear cache' |
#destroy ⇒ Object
- destroy
251 |
# File 'lib/docker_app/cli.rb', line 251 desc 'destroy', 'Destroy Docker container' |
#destroy_image ⇒ Object
- destroy_image
77 |
# File 'lib/docker_app/cli.rb', line 77 desc 'destroy_image', 'Destroy Docker image' |
#generate ⇒ Object
- generate new project
432 |
# File 'lib/docker_app/cli.rb', line 432 desc 'generate', 'Generate new project' |
#start ⇒ Object
- start
195 |
# File 'lib/docker_app/cli.rb', line 195 desc 'start', 'Start Docker container' |
#stop ⇒ Object
- stop
314 |
# File 'lib/docker_app/cli.rb', line 314 desc 'stop', 'Stop Docker container(s)' |
#up ⇒ Object
- up
131 |
# File 'lib/docker_app/cli.rb', line 131 desc 'up', 'Run Docker container' |