Sha256: 5f2c89a41d49feafe0e41d9cbd7bbb95af8c8595e3303fdfb88bf29594faf09c

Contents?: true

Size: 353 Bytes

Versions: 98

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

98 entries across 98 versions & 1 rubygems

Version Path
souls-1.13.7 lib/souls/cli/console/index.rb
souls-1.13.6 lib/souls/cli/console/index.rb
souls-1.13.5 lib/souls/cli/console/index.rb
souls-1.13.4 lib/souls/cli/console/index.rb
souls-1.13.3 lib/souls/cli/console/index.rb
souls-1.13.2 lib/souls/cli/console/index.rb
souls-1.13.1 lib/souls/cli/console/index.rb
souls-1.13.0 lib/souls/cli/console/index.rb
souls-1.12.5 lib/souls/cli/console/index.rb
souls-1.12.4 lib/souls/cli/console/index.rb
souls-1.12.3 lib/souls/cli/console/index.rb
souls-1.12.2 lib/souls/cli/console/index.rb
souls-1.12.1 lib/souls/cli/console/index.rb
souls-1.12.0 lib/souls/cli/console/index.rb
souls-1.11.7 lib/souls/cli/console/index.rb
souls-1.11.6 lib/souls/cli/console/index.rb
souls-1.11.5 lib/souls/cli/console/index.rb
souls-1.11.4 lib/souls/cli/console/index.rb
souls-1.11.3 lib/souls/cli/console/index.rb
souls-1.11.2 lib/souls/cli/console/index.rb