Sha256: 1df44a4323c0ad3d086601ba4fc29f98acaeae6cebafc5b26edbd9b26685fd80

Contents?: true

Size: 502 Bytes

Versions: 1

Compression:

Stored size: 502 Bytes

Contents

# encoding: UTF-8

module Tetra
  # tetra generate-kit-archive
  class GenerateKitArchiveCommand < Tetra::BaseCommand
    option %w(-w --whole), :flag, "recreate the whole archive (not incremental)"

    def execute
      checking_exceptions do
        project = Tetra::Project.new(".")
        ensure_dry_running(false, project) do
          result_path = Tetra::Archiver.new(project).archive_kit(whole?)
          print_generation_result(project, result_path)
        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_archive.rb