Class: Botspec::CLI
- Inherits:
-
Thor
- Object
- Thor
- Botspec::CLI
- Defined in:
- lib/cli.rb
Instance Method Summary collapse
Instance Method Details
#verify ⇒ Object
14 15 16 17 18 19 20 21 22 23 24 25 |
# File 'lib/cli.rb', line 14 def verify() dialogs = [:dialogs] if [:botname] bot_name = [:botname] elsif raise "No bot specified" end puts "running specs in #{dialogs} for bot #{bot_name}" BotSpec::BotSpecRunner.run({dialogs_path: dialogs, botname: bot_name}) end |