Class: Kubes::CLI::Docker
- Inherits:
-
Kubes::Command
- Object
- Thor
- Kubes::Command
- Kubes::CLI::Docker
- Defined in:
- lib/kubes/cli/docker.rb
Instance Method Summary collapse
Methods inherited from Kubes::Command
alter_command_description, check_project!, command_help, dispatch, exit_on_failure?, website
Instance Method Details
#build ⇒ Object
6 7 8 9 10 |
# File 'lib/kubes/cli/docker.rb', line 6 def build builder = Kubes::Docker.new(, "build") builder.run push if [:push] end |
#push ⇒ Object
15 16 17 18 |
# File 'lib/kubes/cli/docker.rb', line 15 def push pusher = Kubes::Docker.new(, "push") pusher.run end |