Class: Sle2Docker::Cli
- Inherits:
-
Object
- Object
- Sle2Docker::Cli
- Defined in:
- lib/sle2docker/cli.rb
Instance Method Summary collapse
-
#initialize ⇒ Cli
constructor
A new instance of Cli.
- #start ⇒ Object
Constructor Details
#initialize ⇒ Cli
Returns a new instance of Cli.
5 6 7 |
# File 'lib/sle2docker/cli.rb', line 5 def initialize @options, @template_dir = () end |
Instance Method Details
#start ⇒ Object
9 10 11 12 13 14 15 |
# File 'lib/sle2docker/cli.rb', line 9 def start builder = Builder.new(@options) builder.create(@template_dir) rescue ConfigNotFoundError => e $stderr.printf(e. + "\n") exit(1) end |