Class: Brut::CLI::Apps::Deploy::Build
- Inherits:
-
Commands::BaseCommand
- Object
- Commands::BaseCommand
- Brut::CLI::Apps::Deploy::Build
- Defined in:
- lib/brut/cli/apps/deploy.rb
Defined Under Namespace
Classes: Docker
Instance Attribute Summary
Attributes inherited from Commands::BaseCommand
Instance Method Summary collapse
-
#commands ⇒ Object
-
#default_rack_env ⇒ Object
-
#description ⇒ Object
-
#initialize(push: false) ⇒ Build
constructor
A new instance of Build.
-
#opts ⇒ Object
-
#run ⇒ Object
Methods inherited from Commands::BaseCommand
#accepts, #args_description, #argv, #bootstrap?, #delegate_to_command, #detailed_description, #env, #env_vars, #execute, #name, #options, #puts, #stdin, #system!, #theme
Constructor Details
#initialize(push: false) ⇒ Build
Returns a new instance of Build.
124 125 126 |
# File 'lib/brut/cli/apps/deploy.rb', line 124 def initialize(push: false) @push = push end |
Instance Method Details
#commands ⇒ Object
131 |
# File 'lib/brut/cli/apps/deploy.rb', line 131 def commands = [] |
#default_rack_env ⇒ Object
122 |
# File 'lib/brut/cli/apps/deploy.rb', line 122 def default_rack_env = Docker.new.default_rack_env |
#description ⇒ Object
120 |
# File 'lib/brut/cli/apps/deploy.rb', line 120 def description = Docker.new.description |