Class: Indoctrinatr::Tools::Commands::Demo
- Inherits:
-
Dry::CLI::Command
- Object
- Dry::CLI::Command
- Indoctrinatr::Tools::Commands::Demo
- Defined in:
- lib/indoctrinatr/tools/commands/demo.rb
Instance Method Summary collapse
Instance Method Details
#call ⇒ Object
7 8 9 10 11 12 13 14 15 16 17 18 |
# File 'lib/indoctrinatr/tools/commands/demo.rb', line 7 def call(**) Indoctrinatr::Tools::Transactions::TemplatePackDemo.new.call('demo') do |result| result.success do || puts end result.failure do || puts exit 1 end end end |