Sha256: f5845be0fcbc13a42b05d23fde80c5cfc48a5518e942621423437ac5c35cd486

Contents?: true

Size: 409 Bytes

Versions: 4

Compression:

Stored size: 409 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 `cpl --version` or `cpl -v`
    DESC
    WITH_INFO_HEADER = false
    VALIDATIONS = [].freeze

    def call
      puts Cpl::VERSION
    end
  end
end

Version data entries

4 entries across 4 versions & 1 rubygems

Version Path
cpl-2.2.4 lib/command/version.rb
cpl-2.2.2 lib/command/version.rb
cpl-2.2.1 lib/command/version.rb
cpl-2.2.0 lib/command/version.rb