Sha256: 51362740e4d9a90cc5e0ff2142b77be6f170c01c948a248b3026eeb437cba4bf

Contents?: true

Size: 456 Bytes

Versions: 4

Compression:

Stored size: 456 Bytes

Contents

desc 'Setup your GitHub account'
command :setup do |c|
  c.desc 'sets up your api token with GitHub'
  c.switch [:l, :local], default_value: false, desc: 'setup GitReflow for the current project only'
  c.switch [:e, :enterprise], default_value: false, desc: 'setup GitReflow with a Github Enterprise account'
  c.action do |global_options, options, args|

    GitReflow.setup local: options[:local], enterprise: options[:enterprise]

  end
end

Version data entries

4 entries across 4 versions & 1 rubygems

Version Path
git_reflow-0.8.10 lib/git_reflow/commands/setup.rb
git_reflow-0.8.9 lib/git_reflow/commands/setup.rb
git_reflow-0.8.8 lib/git_reflow/commands/setup.rb
git_reflow-0.8.7 lib/git_reflow/commands/setup.rb