Sha256: 1511d4474d4650ad4516f82f04d78bf5d581a784540a5ebf612de5ac2ceb2949

Contents?: true

Size: 750 Bytes

Versions: 7

Compression:

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

7 entries across 7 versions & 1 rubygems

Version Path
gfsm-0.3.2 lib/commands/help.rb
gfsm-0.3.1 lib/commands/help.rb
gfsm-0.3.0 lib/commands/help.rb
gfsm-0.2.0 lib/commands/help.rb
gfsm-0.1.4 lib/commands/help.rb
gfsm-0.1.3 lib/commands/help.rb
gfsm-0.1.2 lib/commands/help.rb