Sha256: 89ad5ed6ea7963b507750558c755b2a4ff4721c28163f729b168751aff9bc4d0

Contents?: true

Size: 358 Bytes

Versions: 6

Compression:

Stored size: 358 Bytes

Contents

# frozen_string_literal: true

module Command
  class Version < Base
    NAME = "version"
    DESCRIPTION = "Displays the current version of the CLI"
    LONG_DESCRIPTION = <<~HEREDOC
      - Displays the current version of the CLI
      - Can also be done with `cpl --version` or `cpl -v`
    HEREDOC

    def call
      puts Cpl::VERSION
    end
  end
end

Version data entries

6 entries across 6 versions & 1 rubygems

Version Path
cpl-0.4.1 lib/command/version.rb
cpl-0.4.0 lib/command/version.rb
cpl-0.3.3 lib/command/version.rb
cpl-0.3.2 lib/command/version.rb
cpl-0.3.1 lib/command/version.rb
cpl-0.3.0 lib/command/version.rb