Sha256: 297075ecfd9f1a3d6e2d28c55b677dd78decb5792e82a58a17c7f5e11c9d5419

Contents?: true

Size: 389 Bytes

Versions: 9

Compression:

Stored size: 389 Bytes

Contents

require 'auto_release_note'
require 'thor'

module AutoReleaseNote
  class CLI < Thor
    default_task :execute

    desc 'execute username tagquery', 'execute desc'
    def execute(username, tag_query)
      puts AutoReleaseNote.execute(username: username, tag_query: tag_query)
    end

    desc 'version', 'version'
    def version
      puts AutoReleaseNote::VERSION
    end
  end
end

Version data entries

9 entries across 9 versions & 1 rubygems

Version Path
auto_release_note-0.1.8 lib/auto_release_note/cli.rb
auto_release_note-0.1.7 lib/auto_release_note/cli.rb
auto_release_note-0.1.6 lib/auto_release_note/cli.rb
auto_release_note-0.1.5 lib/auto_release_note/cli.rb
auto_release_note-0.1.4 lib/auto_release_note/cli.rb
auto_release_note-0.1.3 lib/auto_release_note/cli.rb
auto_release_note-0.1.2 lib/auto_release_note/cli.rb
auto_release_note-0.1.1 lib/auto_release_note/cli.rb
auto_release_note-0.1.0 lib/auto_release_note/cli.rb