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-4.1.2 lib/souls/cli/console/index.rb
souls-4.1.1 lib/souls/cli/console/index.rb
souls-4.1.0 lib/souls/cli/console/index.rb
souls-4.0.3 lib/souls/cli/console/index.rb
souls-4.0.2 lib/souls/cli/console/index.rb
souls-4.0.1 lib/souls/cli/console/index.rb
souls-4.0.0 lib/souls/cli/console/index.rb
souls-3.0.8 lib/souls/cli/console/index.rb
souls-3.0.7 lib/souls/cli/console/index.rb
souls-3.0.6 lib/souls/cli/console/index.rb
souls-3.0.5 lib/souls/cli/console/index.rb
souls-3.0.4 lib/souls/cli/console/index.rb
souls-3.0.3 lib/souls/cli/console/index.rb
souls-3.0.2 lib/souls/cli/console/index.rb
souls-3.0.1 lib/souls/cli/console/index.rb
souls-3.0.0 lib/souls/cli/console/index.rb
souls-2.0.4 lib/souls/cli/console/index.rb
souls-2.0.3 lib/souls/cli/console/index.rb
souls-2.0.2 lib/souls/cli/console/index.rb
souls-2.0.1 lib/souls/cli/console/index.rb