Sha256: 10c8de3e26c69bb6df1f2f1120a4ce701875e30876413db869b8aa297aa7848f
Contents?: true
Size: 585 Bytes
Versions: 2
Compression:
Stored size: 585 Bytes
Contents
require 'thor' module Codelog class CLI < Thor desc 'setup', 'Generate the changelogs folder structure and the template.yml file' def setup Codelog::Command::Setup.run end desc 'new', 'Generate a file from the template for the unreleased changes' method_option :change, aliases: '-c', default: true, desc: 'Create a change file' def new Codelog::Command::New.run end desc 'release [VERSION]', 'Generate new release updating changelog' def release(version_number) Codelog::Command::Release.run version_number end end end
Version data entries
2 entries across 2 versions & 1 rubygems
Version | Path |
---|---|
codelog-0.2.3 | lib/codelog/cli.rb |
codelog-0.2.2 | lib/codelog/cli.rb |