Sha256: 25d8dd6cbfcbbc11fb57afcbd9974940f09d03f818e4350523c07fc4f7bdc18f

Contents?: true

Size: 352 Bytes

Versions: 13

Compression:

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

    def call
      puts Cpl::VERSION
    end
  end
end

Version data entries

13 entries across 13 versions & 1 rubygems

Version Path
cpl-1.1.2 lib/command/version.rb
cpl-1.1.2.rc.0 lib/command/version.rb
cpl-1.1.1 lib/command/version.rb
cpl-1.1.0 lib/command/version.rb
cpl-1.0.4 lib/command/version.rb
cpl-1.0.3 lib/command/version.rb
cpl-1.0.2 lib/command/version.rb
cpl-1.0.1 lib/command/version.rb
cpl-1.0.0 lib/command/version.rb
cpl-0.7.0 lib/command/version.rb
cpl-0.6.0 lib/command/version.rb
cpl-0.5.1 lib/command/version.rb
cpl-0.5.0 lib/command/version.rb