Sha256: 305188a82183442025e07329625375d31d223f15c105222c8910b1d855fd72ce

Contents?: true

Size: 418 Bytes

Versions: 6

Compression:

Stored size: 418 Bytes

Contents

# frozen_string_literal: true

module Command
  class Version < Base
    NAME = "version"
    DESCRIPTION = "Displays the current version of the CLI"
    LONG_DESCRIPTION = <<~DESC
      - Displays the current version of the CLI
      - Can also be done with `cpflow --version` or `cpflow -v`
    DESC
    WITH_INFO_HEADER = false
    VALIDATIONS = [].freeze

    def call
      puts Cpflow::VERSION
    end
  end
end

Version data entries

6 entries across 6 versions & 1 rubygems

Version Path
cpflow-4.1.1 lib/command/version.rb
cpflow-4.1.0 lib/command/version.rb
cpflow-4.0.1 lib/command/version.rb
cpflow-4.0.0 lib/command/version.rb
cpflow-3.0.1 lib/command/version.rb
cpflow-3.0.0 lib/command/version.rb