Sha256: 6151fa643d5512bb03919bb6e45d09614156e5ccd4b54d8af56daa8bb4637922

Contents?: true

Size: 455 Bytes

Versions: 4

Compression:

Stored size: 455 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({ project_only: options[:local], enterprise: options[:enterprise] })
  end
end

Version data entries

4 entries across 4 versions & 2 rubygems

Version Path
fb-git_reflow-0.3.6 lib/git_reflow/commands/setup.rb
git_reflow-0.3.5 lib/git_reflow/commands/setup.rb
git_reflow-0.3.4 lib/git_reflow/commands/setup.rb
git_reflow-0.3.3 lib/git_reflow/commands/setup.rb