Sha256: 1191f04cb7747f44ed4177c4ec17e8a750b76c2975c182d462e11ec6a6a56f41

Contents?: true

Size: 781 Bytes

Versions: 187

Compression:

Stored size: 781 Bytes

Contents

require_relative "./mutation"
require_relative "./mutation_rbs"
require_relative "./resolver"
require_relative "./type"
require_relative "./type_rbs"
require_relative "./rspec_factory"
require_relative "./rspec_mutation"
require_relative "./rspec_resolver"

module Souls
  class Update < Thor
    desc "scaffold [CLASS_NAME]", "Update Scaffold Params"
    def scaffold(class_name)
      create_mutation(class_name)
      update_mutation(class_name)
      resolver(class_name)
      type(class_name)
      rspec_factory(class_name)
      rspec_mutation(class_name)
      rspec_resolver(class_name)
      Dir.chdir(Souls.get_mother_path.to_s) do
        create_mutation_rbs(class_name)
        update_mutation_rbs(class_name)
        type_rbs(class_name)
      end
    end
  end
end

Version data entries

187 entries across 187 versions & 1 rubygems

Version Path
souls-1.17.3 lib/souls/cli/update/index.rb
souls-1.17.2 lib/souls/cli/update/index.rb
souls-1.17.1 lib/souls/cli/update/index.rb
souls-1.17.0 lib/souls/cli/update/index.rb
souls-1.16.4 lib/souls/cli/update/index.rb
souls-1.16.3 lib/souls/cli/update/index.rb
souls-1.16.2 lib/souls/cli/update/index.rb
souls-1.16.1 lib/souls/cli/update/index.rb
souls-1.16.0 lib/souls/cli/update/index.rb
souls-1.15.5 lib/souls/cli/update/index.rb
souls-1.15.4 lib/souls/cli/update/index.rb
souls-1.15.3 lib/souls/cli/update/index.rb
souls-1.15.2 lib/souls/cli/update/index.rb
souls-1.15.1 lib/souls/cli/update/index.rb
souls-1.15.0 lib/souls/cli/update/index.rb
souls-1.14.3 lib/souls/cli/update/index.rb
souls-1.14.2 lib/souls/cli/update/index.rb
souls-1.14.1 lib/souls/cli/update/index.rb
souls-1.14.0 lib/souls/cli/update/index.rb
souls-1.13.8 lib/souls/cli/update/index.rb