Sha256: 285f864a4329e01b6aa43ef81ec6fa562bd01bb0c3a55a4270ace8e6c35f25c3

Contents?: true

Size: 745 Bytes

Versions: 4

Compression:

Stored size: 745 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

4 entries across 4 versions & 1 rubygems

Version Path
gfsm-0.8.0 lib/commands/help.rb
gfsm-0.7.0 lib/commands/help.rb
gfsm-0.6.0 lib/commands/help.rb
gfsm-0.5.1 lib/commands/help.rb