Sha256: e44b117d32b9e67965eba29aa028672a4fd037d8ebc8fc51aa52b71fa7ddcb40

Contents?: true

Size: 753 Bytes

Versions: 3

Compression:

Stored size: 753 Bytes

Contents

# frozen_string_literal: true

module GFSM
  module Commands
    class Help < BaseCommand
      def run(_ = [])
        GFSM::Output.puts <<~HELP
        # GitLab Flavored Semantic Versioning

        Usage:
        
        gfsm <command> [<args>]

        Available commands:
        gfsm help               # Print this help text
        gfsm version            # Command used to print the current version or bump it based on the configuration
        gfsm changelog          # Command used to generate a changelog based on the commits since the latest release


        Version command
        #{GFSM::Commands::Version.help}
        Changelog command
        #{GFSM::Commands::Changelog.help}
        HELP

        true
      end
    end
  end
end

Version data entries

3 entries across 3 versions & 1 rubygems

Version Path
gfsm-0.5.0 lib/commands/help.rb
gfsm-0.4.1 lib/commands/help.rb
gfsm-0.4.0 lib/commands/help.rb