Sha256: 8eac5e8a002bc04cd0c8faf10410040bb1e490ac9702784647ae37bd531c774a

Contents?: true

Size: 353 Bytes

Versions: 68

Compression:

Stored size: 353 Bytes

Contents

module SOULs
  class CLI < Thor
    desc "console", "Run IRB Console"
    method_option :env, aliases: "--e", default: "development", desc: "Difine APP Enviroment - development | production"
    def console
      return system("RACK_ENV=production bundle exec irb") if options[:env].eql?("production")

      system("bundle exec irb")
    end
  end
end

Version data entries

68 entries across 68 versions & 1 rubygems

Version Path
souls-1.20.8 lib/souls/cli/console/index.rb
souls-1.20.7 lib/souls/cli/console/index.rb
souls-1.20.6 lib/souls/cli/console/index.rb
souls-1.20.5 lib/souls/cli/console/index.rb
souls-1.20.4 lib/souls/cli/console/index.rb
souls-1.20.3 lib/souls/cli/console/index.rb
souls-1.20.2 lib/souls/cli/console/index.rb
souls-1.20.1 lib/souls/cli/console/index.rb
souls-1.20.0 lib/souls/cli/console/index.rb
souls-1.19.9 lib/souls/cli/console/index.rb
souls-1.19.8 lib/souls/cli/console/index.rb
souls-1.19.7 lib/souls/cli/console/index.rb
souls-1.19.6 lib/souls/cli/console/index.rb
souls-1.19.5 lib/souls/cli/console/index.rb
souls-1.19.4 lib/souls/cli/console/index.rb
souls-1.19.3 lib/souls/cli/console/index.rb
souls-1.19.2 lib/souls/cli/console/index.rb
souls-1.19.1 lib/souls/cli/console/index.rb
souls-1.19.0 lib/souls/cli/console/index.rb
souls-1.18.8 lib/souls/cli/console/index.rb