Sha256: d15b98a70d75a3ca639341720a677ee51f1402f2e1f4056a52cdeeeed054062c
Contents?: true
Size: 665 Bytes
Versions: 82
Compression:
Stored size: 665 Bytes
Contents
#!/usr/bin/env ruby require 'rbbt-util' require 'rbbt/util/simpleopt' require 'rbbt/workflow' require 'rbbt/workflow/remote/ssh/get' $0 = "rbbt #{$previous_commands*""} #{ File.basename(__FILE__) }" if $previous_commands options = SOPT.setup <<EOF Remove a job and its dependencies $ rbbt purge [options] <job_path> -h--help Print this help -t--test Do a verbose dry run -r--relocate Include relocated dependencies EOF if options[:help] if defined? rbbt_usage rbbt_usage else puts SOPT.doc end exit 0 end path, search_path, _sep, *other = ARGV raise ParameterException, "No path given" if path.nil? Step.purge(path, options[:relocate])
Version data entries
82 entries across 82 versions & 1 rubygems