Sha256: 3a831f6e7f5a652a3e84f78b550bfe757adeb966d0629f8098b67b636e9418a3

Contents?: true

Size: 398 Bytes

Versions: 10

Compression:

Stored size: 398 Bytes

Contents

# encoding: UTF-8

module Tetra
  # tetra generate-archive
  class GenerateArchiveSubcommand < Tetra::Subcommand
    def execute
      checking_exceptions do
        project = Tetra::Project.new(".")
        ensure_dry_running(:has_finished, project) do
          result_path = project.archive_sources
          print_generation_result(project, result_path)
        end
      end
    end
  end
end

Version data entries

10 entries across 10 versions & 1 rubygems

Version Path
tetra-1.2.2 lib/tetra/ui/generate_archive_subcommand.rb
tetra-1.2.1 lib/tetra/ui/generate_archive_subcommand.rb
tetra-1.2.0 lib/tetra/ui/generate_archive_subcommand.rb
tetra-1.1.0 lib/tetra/ui/generate_archive_subcommand.rb
tetra-1.0.0 lib/tetra/ui/generate_archive_subcommand.rb
tetra-0.54.0 lib/tetra/ui/generate_archive_subcommand.rb
tetra-0.53.0 lib/tetra/ui/generate_archive_subcommand.rb
tetra-0.52.0 lib/tetra/ui/generate_archive_subcommand.rb
tetra-0.51.0 lib/tetra/ui/generate_archive_subcommand.rb
tetra-0.50.0 lib/tetra/ui/generate_archive_subcommand.rb