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

Version Path
rbbt-util-5.5.16 share/rbbt_commands/workflow/remote/add
rbbt-util-5.5.15 share/rbbt_commands/workflow/remote/add
rbbt-util-5.5.14 share/rbbt_commands/workflow/remote/add
rbbt-util-5.5.13 share/rbbt_commands/workflow/remote/add
rbbt-util-5.5.12 share/rbbt_commands/workflow/remote/add
rbbt-util-5.5.11 share/rbbt_commands/workflow/remote/add
rbbt-util-5.5.10 share/rbbt_commands/workflow/remote/add
rbbt-util-5.5.9 share/rbbt_commands/workflow/remote/add
rbbt-util-5.5.8 share/rbbt_commands/workflow/remote/add
rbbt-util-5.5.7 share/rbbt_commands/workflow/remote/add
rbbt-util-5.5.6 share/rbbt_commands/workflow/remote/add
rbbt-util-5.5.5 share/rbbt_commands/workflow/remote/add
rbbt-util-5.5.4 share/rbbt_commands/workflow/remote/add
rbbt-util-5.5.3 share/rbbt_commands/workflow/remote/add
rbbt-util-5.5.2 share/rbbt_commands/workflow/remote/add
rbbt-util-5.5.1 share/rbbt_commands/workflow/remote/add
rbbt-util-5.5.0 share/rbbt_commands/workflow/remote/add
rbbt-util-5.4.1 share/rbbt_commands/workflow/remote/add
rbbt-util-5.3.4 share/rbbt_commands/workflow/remote/add
rbbt-util-5.3.3 share/rbbt_commands/workflow/remote/add