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.157 share/rbbt_commands/workflow/remote/add
rbbt-util-5.26.156 share/rbbt_commands/workflow/remote/add
rbbt-util-5.26.155 share/rbbt_commands/workflow/remote/add
rbbt-util-5.26.154 share/rbbt_commands/workflow/remote/add
rbbt-util-5.26.153 share/rbbt_commands/workflow/remote/add
rbbt-util-5.26.152 share/rbbt_commands/workflow/remote/add
rbbt-util-5.26.151 share/rbbt_commands/workflow/remote/add
rbbt-util-5.26.150 share/rbbt_commands/workflow/remote/add
rbbt-util-5.26.149 share/rbbt_commands/workflow/remote/add
rbbt-util-5.26.148 share/rbbt_commands/workflow/remote/add
rbbt-util-5.26.147 share/rbbt_commands/workflow/remote/add
rbbt-util-5.26.146 share/rbbt_commands/workflow/remote/add
rbbt-util-5.26.145 share/rbbt_commands/workflow/remote/add
rbbt-util-5.26.144 share/rbbt_commands/workflow/remote/add
rbbt-util-5.26.143 share/rbbt_commands/workflow/remote/add
rbbt-util-5.26.142 share/rbbt_commands/workflow/remote/add
rbbt-util-5.26.141 share/rbbt_commands/workflow/remote/add
rbbt-util-5.26.140 share/rbbt_commands/workflow/remote/add
rbbt-util-5.26.139 share/rbbt_commands/workflow/remote/add
rbbt-util-5.26.138 share/rbbt_commands/workflow/remote/add