Sha256: 2d34def87dfafc4c2663cfd21f4e0a21c613b068cdce53789f04454be8454426
Contents?: true
Size: 586 Bytes
Versions: 3
Compression:
Stored size: 586 Bytes
Contents
#!/usr/bin/env ruby require 'rbbt-util' require 'rbbt/util/simpleopt' require 'rbbt/workflow' $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 -r--recursive Remove recursively 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[:recursive])
Version data entries
3 entries across 3 versions & 1 rubygems
Version | Path |
---|---|
rbbt-util-5.28.9 | share/rbbt_commands/purge_job |
rbbt-util-5.28.8 | share/rbbt_commands/purge_job |
rbbt-util-5.28.7 | share/rbbt_commands/purge_job |