Sha256: 2fd4121945b32b58937abca26eefe36ca8b225b6f40d71a098e19a897bd60333

Contents?: true

Size: 398 Bytes

Versions: 7

Compression:

Stored size: 398 Bytes

Contents

module Souls
  class CLI < Thor
    desc "server", "Run SOULs APP"
    method_option all: :boolean, alias: "--all", default: false, desc: "Run All API & Workers"
    def server
      if options[:all]
        Dir.chdir(Souls.get_mother_path.to_s) do
          system("foreman start -f Procfile.dev")
        end
      else
        system("foreman start -f Procfile.dev")
      end
    end
  end
end

Version data entries

7 entries across 7 versions & 1 rubygems

Version Path
souls-0.52.6 lib/souls/cli/server/index.rb
souls-0.52.5 lib/souls/cli/server/index.rb
souls-0.52.4 lib/souls/cli/server/index.rb
souls-0.52.3 lib/souls/cli/server/index.rb
souls-0.52.2 lib/souls/cli/server/index.rb
souls-0.52.1 lib/souls/cli/server/index.rb
souls-0.52.0 lib/souls/cli/server/index.rb