Sha256: 3563d0a1bf093abfcaa0337b364eb2bfb30a7d5903c52b62a661f3b3afa67ae2

Contents?: true

Size: 492 Bytes

Versions: 1

Compression:

Stored size: 492 Bytes

Contents

# encoding: UTF-8

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

    def execute
      checking_exceptions do
        project = Gjp::Project.new(".")
        ensure_dry_running(false, project) do
          result_path = Gjp::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
gjp-0.39.0 lib/gjp/commands/generate_kit_archive.rb