Class: Jobshop::CLI::Canary
- Inherits:
-
Thor
- Object
- Thor
- Jobshop::CLI::Canary
- Defined in:
- lib/jobshop/cli/canary.rb
Instance Method Summary collapse
Instance Method Details
#reset(*args) ⇒ Object
20 21 22 23 24 25 26 27 28 29 30 31 32 33 |
# File 'lib/jobshop/cli/canary.rb', line 20 def reset(*args) FileUtils.rmtree(File.("spec/canary")) Jobshop::Generators::CanaryGenerator.start( args.unshift(File.("spec/canary")), jobshop_options: { database: "postgresql", skip_bundle: true, skip_gemfile: true, skip_git: true, skip_listen: true, skip_test: true } ) end |