Sha256: ba267d2d4b98580831927aefe548e71ea9ed94b8fcb6db254a64715413e18c4d
Contents?: true
Size: 319 Bytes
Versions: 27
Compression:
Stored size: 319 Bytes
Contents
#!/usr/bin/env ruby require 'rbbt' url, workflow = ARGV url = File.join(url, workflow) unless url =~ /\/#{workflow}$/ config_file = Rbbt.etc.remote_workflows remote_workflows = config_file.exists? ? config_file.yaml : {} remote_workflows[workflow] = url Open.write(config_file.find(:user), remote_workflows.to_yaml)
Version data entries
27 entries across 27 versions & 1 rubygems