Sha256: f5410ae9ee462e7f993fcfbddf11b3cb489650ff673ef4dc3f6c7008e95ae2be

Contents?: true

Size: 409 Bytes

Versions: 3

Compression:

Stored size: 409 Bytes

Contents

require 'thor'
require 'automation_wizard/generators/project'

module AutomationWizard
  class CLI < Thor

    desc 'testproject <project_name>', 'Create a new test project'
    method_option :level, type: :string, required: false, desc: 'Provide level option.'

    def testproject(name)
      driver = options[:level]
      AutomationWizard::Generators::Project.start([name, driver])
    end
    
  end
end

Version data entries

3 entries across 3 versions & 1 rubygems

Version Path
automation_wizard-2.0.4 lib/automation_wizard/cli.rb
automation_wizard-2.0.3 lib/automation_wizard/cli.rb
automation_wizard-2.0.2 lib/automation_wizard/cli.rb