Sha256: ab172ba74d25abe0b16604480ecb032be999c1c3776acda184da0af6b2b09f9c
Contents?: true
Size: 1016 Bytes
Versions: 15
Compression:
Stored size: 1016 Bytes
Contents
require_relative 'console' require_relative 'migration' require_relative 'services' require_relative 'suite' require_relative 'suites' module Inferno module CLI class Main < Thor desc 'console', 'Start an interactive console session with Inferno' def console Console.new.run end desc 'migrate', 'Run database migrations' def migrate Migration.new.run end desc 'start', 'Start Inferno' def start if `gem list -i foreman`.chomp == 'false' puts "You must install foreman with 'gem install foreman' prior to running inferno." end system 'foreman start --env=/dev/null' end desc 'suites', 'List available test suites' def suites Suites.new.run end desc 'services stop/start', 'Start or stop background services' subcommand 'services', Services desc 'suite SUBCOMMAND ...ARGS', 'Perform suite-based operations' subcommand 'suite', Suite end end end
Version data entries
15 entries across 15 versions & 1 rubygems