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.137 share/rbbt_commands/workflow/remote/add
rbbt-util-5.26.136 share/rbbt_commands/workflow/remote/add
rbbt-util-5.26.135 share/rbbt_commands/workflow/remote/add
rbbt-util-5.26.134 share/rbbt_commands/workflow/remote/add
rbbt-util-5.26.133 share/rbbt_commands/workflow/remote/add
rbbt-util-5.26.132 share/rbbt_commands/workflow/remote/add
rbbt-util-5.26.131 share/rbbt_commands/workflow/remote/add
rbbt-util-5.26.130 share/rbbt_commands/workflow/remote/add
rbbt-util-5.26.129 share/rbbt_commands/workflow/remote/add
rbbt-util-5.26.128 share/rbbt_commands/workflow/remote/add
rbbt-util-5.26.126 share/rbbt_commands/workflow/remote/add
rbbt-util-5.26.125 share/rbbt_commands/workflow/remote/add
rbbt-util-5.26.123 share/rbbt_commands/workflow/remote/add
rbbt-util-5.26.122 share/rbbt_commands/workflow/remote/add
rbbt-util-5.26.121 share/rbbt_commands/workflow/remote/add
rbbt-util-5.26.120 share/rbbt_commands/workflow/remote/add
rbbt-util-5.26.119 share/rbbt_commands/workflow/remote/add
rbbt-util-5.26.118 share/rbbt_commands/workflow/remote/add
rbbt-util-5.26.117 share/rbbt_commands/workflow/remote/add
rbbt-util-5.26.116 share/rbbt_commands/workflow/remote/add