Class: DockerApp::CLI

Inherits:
Thor
  • Object
show all
Includes:
Thor::Actions
Defined in:
lib/docker_app/cli.rb

Class Method Summary collapse

Instance Method Summary collapse

Class Method Details

.source_rootObject



5
6
7
8
# File 'lib/docker_app/cli.rb', line 5

def self.source_root
  #File.dirname(__FILE__)
  File.expand_path('../../templates', __FILE__)
end

Instance Method Details

#buildObject

build


15
# File 'lib/docker_app/cli.rb', line 15

desc 'build', 'Build Docker image'

#clear_cacheObject

clear_cache


374
# File 'lib/docker_app/cli.rb', line 374

desc 'clear_cache', 'clear cache'

#destroyObject

destroy


251
# File 'lib/docker_app/cli.rb', line 251

desc 'destroy', 'Destroy Docker container'

#destroy_imageObject

destroy_image


77
# File 'lib/docker_app/cli.rb', line 77

desc 'destroy_image', 'Destroy Docker image'

#generateObject

generate new project


432
# File 'lib/docker_app/cli.rb', line 432

desc 'generate', 'Generate new project'

#startObject

start


195
# File 'lib/docker_app/cli.rb', line 195

desc 'start', 'Start Docker container'

#stopObject

stop


314
# File 'lib/docker_app/cli.rb', line 314

desc 'stop', 'Stop Docker container(s)'

#upObject

up


131
# File 'lib/docker_app/cli.rb', line 131

desc 'up', 'Run Docker container'