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.68 share/rbbt_commands/workflow/remote/add
rbbt-util-5.26.67 share/rbbt_commands/workflow/remote/add
rbbt-util-5.26.66 share/rbbt_commands/workflow/remote/add
rbbt-util-5.26.65 share/rbbt_commands/workflow/remote/add
rbbt-util-5.26.64 share/rbbt_commands/workflow/remote/add
rbbt-util-5.26.63 share/rbbt_commands/workflow/remote/add
rbbt-util-5.26.62 share/rbbt_commands/workflow/remote/add
rbbt-util-5.26.59 share/rbbt_commands/workflow/remote/add
rbbt-util-5.26.58 share/rbbt_commands/workflow/remote/add
rbbt-util-5.26.57 share/rbbt_commands/workflow/remote/add
rbbt-util-5.26.55 share/rbbt_commands/workflow/remote/add
rbbt-util-5.26.54 share/rbbt_commands/workflow/remote/add
rbbt-util-5.26.53 share/rbbt_commands/workflow/remote/add
rbbt-util-5.26.52 share/rbbt_commands/workflow/remote/add
rbbt-util-5.26.50 share/rbbt_commands/workflow/remote/add
rbbt-util-5.26.49 share/rbbt_commands/workflow/remote/add
rbbt-util-5.26.48 share/rbbt_commands/workflow/remote/add
rbbt-util-5.26.47 share/rbbt_commands/workflow/remote/add
rbbt-util-5.26.46 share/rbbt_commands/workflow/remote/add
rbbt-util-5.26.45 share/rbbt_commands/workflow/remote/add