Sha256: 70c4e5809dabe89b5c408a70ccff0fbe1555a7c827a3ac2a9a32a3c427ff05a9

Contents?: true

Size: 320 Bytes

Versions: 4

Compression:

Stored size: 320 Bytes

Contents

# typed: strict
# frozen_string_literal: true

module Packwerk
  module Commands
    class VersionCommand < BaseCommand
      extend T::Sig

      description "output packwerk version"

      sig { override.returns(T::Boolean) }
      def run
        out.puts(Packwerk::VERSION)
        true
      end
    end
  end
end

Version data entries

4 entries across 4 versions & 1 rubygems

Version Path
packwerk-3.2.2 lib/packwerk/commands/version_command.rb
packwerk-3.2.1 lib/packwerk/commands/version_command.rb
packwerk-3.2.0 lib/packwerk/commands/version_command.rb
packwerk-3.1.0 lib/packwerk/commands/version_command.rb