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.7.19 lib/souls/cli/update/index.rb
souls-1.7.18 lib/souls/cli/update/index.rb
souls-1.7.17 lib/souls/cli/update/index.rb
souls-1.7.16 lib/souls/cli/update/index.rb
souls-1.7.15 lib/souls/cli/update/index.rb
souls-1.7.14 lib/souls/cli/update/index.rb
souls-1.7.13 lib/souls/cli/update/index.rb
souls-1.7.12 lib/souls/cli/update/index.rb
souls-1.7.11 lib/souls/cli/update/index.rb
souls-1.7.10 lib/souls/cli/update/index.rb
souls-1.7.9 lib/souls/cli/update/index.rb
souls-1.7.8 lib/souls/cli/update/index.rb
souls-1.7.7 lib/souls/cli/update/index.rb
souls-1.7.6 lib/souls/cli/update/index.rb
souls-1.7.5 lib/souls/cli/update/index.rb
souls-1.7.4 lib/souls/cli/update/index.rb
souls-1.7.3 lib/souls/cli/update/index.rb
souls-1.7.2 lib/souls/cli/update/index.rb
souls-1.7.1 lib/souls/cli/update/index.rb
souls-1.7.0 lib/souls/cli/update/index.rb