Sha256: eefd4f40d833bd78bc0e389ffee9eb415840f1c2212a9bd3b348e84fefd0a57d
Contents?: true
Size: 507 Bytes
Versions: 2
Compression:
Stored size: 507 Bytes
Contents
# encoding: UTF-8 module Tetra # tetra finish class FinishCommand < Tetra::BaseCommand option %w(-a --abort), :flag, "build abort, 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
2 entries across 2 versions & 1 rubygems
Version | Path |
---|---|
tetra-0.41.0 | lib/tetra/commands/finish.rb |
tetra-0.40.0 | lib/tetra/commands/finish.rb |