Sha256: d211ea9c754d6d91248d0cb7accbf08c092379114ef917e4a011f55d9ac09598

Contents?: true

Size: 319 Bytes

Versions: 709

Compression:

Stored size: 319 Bytes

Contents

#!/usr/bin/env ruby

require 'rbbt'

workflow, url = 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

709 entries across 709 versions & 1 rubygems

Version Path
rbbt-util-5.26.88 share/rbbt_commands/workflow/remote/add
rbbt-util-5.26.87 share/rbbt_commands/workflow/remote/add
rbbt-util-5.26.86 share/rbbt_commands/workflow/remote/add
rbbt-util-5.26.85 share/rbbt_commands/workflow/remote/add
rbbt-util-5.26.84 share/rbbt_commands/workflow/remote/add
rbbt-util-5.26.83 share/rbbt_commands/workflow/remote/add
rbbt-util-5.26.82 share/rbbt_commands/workflow/remote/add
rbbt-util-5.26.81 share/rbbt_commands/workflow/remote/add
rbbt-util-5.26.80 share/rbbt_commands/workflow/remote/add
rbbt-util-5.26.79 share/rbbt_commands/workflow/remote/add
rbbt-util-5.26.78 share/rbbt_commands/workflow/remote/add
rbbt-util-5.26.77 share/rbbt_commands/workflow/remote/add
rbbt-util-5.26.76 share/rbbt_commands/workflow/remote/add
rbbt-util-5.26.75 share/rbbt_commands/workflow/remote/add
rbbt-util-5.26.74 share/rbbt_commands/workflow/remote/add
rbbt-util-5.26.73 share/rbbt_commands/workflow/remote/add
rbbt-util-5.26.72 share/rbbt_commands/workflow/remote/add
rbbt-util-5.26.71 share/rbbt_commands/workflow/remote/add
rbbt-util-5.26.70 share/rbbt_commands/workflow/remote/add
rbbt-util-5.26.69 share/rbbt_commands/workflow/remote/add