Sha256: be7266e05da98ed3d7bb8ca90afb041557df06cc4e40070363790db5afe2cce2

Contents?: true

Size: 449 Bytes

Versions: 1

Compression:

Stored size: 449 Bytes

Contents

# encoding: UTF-8

module Tetra
  # tetra generate-kit-spec
  class GenerateKitSpecCommand < Tetra::BaseCommand
    def execute
      checking_exceptions do
        project = Tetra::Project.new(".")
        ensure_dry_running(false, project) do
          result_path, conflict_count = Tetra::SpecGenerator.new(project).generate_kit_spec
          print_generation_result(project, result_path, conflict_count)
        end
      end
    end
  end
end

Version data entries

1 entries across 1 versions & 1 rubygems

Version Path
tetra-0.40.0 lib/tetra/commands/generate_kit_spec.rb