Sha256: 28bda3dc9e30296be72aa2a6083ee983e9b70245b0d72c45ffd8de04cab98bfb
Contents?: true
Size: 507 Bytes
Versions: 5
Compression:
Stored size: 507 Bytes
Contents
# encoding: UTF-8 module Tetra # tetra finish class FinishCommand < Tetra::BaseCommand option %w(-a --abort), :flag, "abort build, restore files as before dry-run" def execute checking_exceptions do if Tetra::Project.new(".").finish(abort?) if abort? puts "Project reverted as before dry-run." else puts "Dry-run finished." end else puts "No dry-run is in progress." end end end end end
Version data entries
5 entries across 5 versions & 1 rubygems