Class: Njord::CLI

Inherits:
Thor
  • Object
show all
Defined in:
lib/njord/cli.rb

Class Method Summary collapse

Instance Method Summary collapse

Class Method Details

.exit_on_failure?Boolean

Returns:

  • (Boolean)


19
20
21
# File 'lib/njord/cli.rb', line 19

def self.exit_on_failure?
  true
end

Instance Method Details

#buildObject



6
7
8
9
# File 'lib/njord/cli.rb', line 6

def build
  DockerHandler.build_images
  DockerHandler.tag_images
end

#pushObject



12
13
14
# File 'lib/njord/cli.rb', line 12

def push
  DockerHandler.push_images
end