Sha256: 1c6247ff9cc2179566fa8f6c9e3d7f222e31d2f81083cbea609808009108fc14

Contents?: true

Size: 393 Bytes

Versions: 18

Compression:

Stored size: 393 Bytes

Contents

desc "Create an issue for the current project."
command 'issue' do |c|
  c.desc "Use $EDITOR to update PR description before creating"
  c.switch [:e, :editor], :default_value => Octopolo.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

18 entries across 18 versions & 1 rubygems

Version Path
octopolo-1.12.0 lib/octopolo/commands/issue.rb
octopolo-1.11.4 lib/octopolo/commands/issue.rb
octopolo-1.11.3 lib/octopolo/commands/issue.rb
octopolo-1.11.1 lib/octopolo/commands/issue.rb
octopolo-1.11.0 lib/octopolo/commands/issue.rb
octopolo-1.9.0 lib/octopolo/commands/issue.rb
octopolo-1.8.1 lib/octopolo/commands/issue.rb
octopolo-1.8.0 lib/octopolo/commands/issue.rb
octopolo-1.7.1 lib/octopolo/commands/issue.rb
octopolo-1.7.0 lib/octopolo/commands/issue.rb
octopolo-1.6.0 lib/octopolo/commands/issue.rb
octopolo-1.5.3 lib/octopolo/commands/issue.rb
octopolo-1.5.2 lib/octopolo/commands/issue.rb
octopolo-1.5.1 lib/octopolo/commands/issue.rb
octopolo-1.5.0 lib/octopolo/commands/issue.rb
octopolo-1.4.0 lib/octopolo/commands/issue.rb
octopolo-1.3.0 lib/octopolo/commands/issue.rb
octopolo-1.2.1 lib/octopolo/commands/issue.rb