Sha256: 9774085f4f165b362b4feb9cea92f557cb6e7c0de66058ee14ac89fe3ee3be35

Contents?: true

Size: 462 Bytes

Versions: 8

Compression:

Stored size: 462 Bytes

Contents

desc "Create an issue for the current project."
command 'issue' do |c|
  config = Octopolo::Config.parse
  user_config = Octopolo::UserConfig.parse

  c.desc "Use $EDITOR to update PR description before creating"
  c.switch [:e, :editor], :default_value => user_config.editor

  c.action do |global_options, options, args|
    require_relative '../scripts/issue'
    options = global_options.merge(options)
    Octopolo::Scripts::Issue.execute options
  end
end

Version data entries

8 entries across 8 versions & 1 rubygems

Version Path
octopolo-1.2.0 lib/octopolo/commands/issue.rb
octopolo-1.1.1 lib/octopolo/commands/issue.rb
octopolo-1.1.0 lib/octopolo/commands/issue.rb
octopolo-1.0.2 lib/octopolo/commands/issue.rb
octopolo-1.0.1 lib/octopolo/commands/issue.rb
octopolo-1.0.0 lib/octopolo/commands/issue.rb
octopolo-0.4.1 lib/octopolo/commands/issue.rb
octopolo-0.4.0 lib/octopolo/commands/issue.rb