Sha256: 68cfbee29c13063285f7809b37a6d6ddf6c2978fbd076acbce48beef90fb7fe7

Contents?: true

Size: 381 Bytes

Versions: 3

Compression:

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

    def call
      puts Cpl::VERSION
    end
  end
end

Version data entries

3 entries across 3 versions & 1 rubygems

Version Path
cpl-1.4.0 lib/command/version.rb
cpl-1.3.0 lib/command/version.rb
cpl-1.2.0 lib/command/version.rb