Sha256: f625c8efed697da98d4195533c716d47e0f3ad1f492288ec7e929ce9547ffda9
Contents?: true
Size: 1.48 KB
Versions: 6
Compression:
Stored size: 1.48 KB
Contents
require "souls" module Souls class CLI < Thor desc "api [COMMAND]", "souls api Commands" subcommand "api", API desc "gcloud [COMMAND]", "souls gcloud Commands" subcommand "gcloud", Gcloud desc "docker [COMMAND]", "souls docker Commands" subcommand "docker", Docker desc "create [COMMAND]", "souls create worker $worker_name" subcommand "create", Create desc "sync", "souls sync Commands" subcommand "sync", Sync desc "upgrade", "souls upgrade Commands" subcommand "upgrade", Upgrade desc "worker [COMMAND]", "souls worker Commands" subcommand "worker", Worker # rubocop:disable Style/StringHashKeys map "c" => :console map "s" => :server map "db:migrate:reset" => :migrate_reset map "db:migrate" => :migrate map "db:create_migration" => :create_migration map "db:add_column" => :add_column map "db:rename_column" => :rename_column map "db:change_column" => :change_column map "db:remove_column" => :remove_column map "db:drop_table" => :drop_table map "db:create" => :db_create map "db:seed" => :seed map "t" => :test map ["-v", "--v", "--version", "-version"] => :version # rubocop:enable Style/StringHashKeys desc "version", "SOULs Version" def version puts(Souls::VERSION) end desc "test", "Run Rspec & Rubocop" def test system("rubocop -A") system("bundle exec rspec") end def self.exit_on_failure? false end end end
Version data entries
6 entries across 6 versions & 1 rubygems
Version | Path |
---|---|
souls-0.53.1 | lib/souls/cli.rb |
souls-0.53.0 | lib/souls/cli.rb |
souls-0.52.7 | lib/souls/cli.rb |
souls-0.52.6 | lib/souls/cli.rb |
souls-0.52.5 | lib/souls/cli.rb |
souls-0.52.4 | lib/souls/cli.rb |