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.17.3 lib/souls/cli/console/index.rb
souls-1.17.2 lib/souls/cli/console/index.rb
souls-1.17.1 lib/souls/cli/console/index.rb
souls-1.17.0 lib/souls/cli/console/index.rb
souls-1.16.4 lib/souls/cli/console/index.rb
souls-1.16.3 lib/souls/cli/console/index.rb
souls-1.16.2 lib/souls/cli/console/index.rb
souls-1.16.1 lib/souls/cli/console/index.rb
souls-1.16.0 lib/souls/cli/console/index.rb
souls-1.15.5 lib/souls/cli/console/index.rb
souls-1.15.4 lib/souls/cli/console/index.rb
souls-1.15.3 lib/souls/cli/console/index.rb
souls-1.15.2 lib/souls/cli/console/index.rb
souls-1.15.1 lib/souls/cli/console/index.rb
souls-1.15.0 lib/souls/cli/console/index.rb
souls-1.14.3 lib/souls/cli/console/index.rb
souls-1.14.2 lib/souls/cli/console/index.rb
souls-1.14.1 lib/souls/cli/console/index.rb
souls-1.14.0 lib/souls/cli/console/index.rb
souls-1.13.8 lib/souls/cli/console/index.rb