Sha256: bc9080db5786bfe3274f2961a9ddf2246b180142c715f6bff0ca3057bae7aac5
Contents?: true
Size: 406 Bytes
Versions: 6
Compression:
Stored size: 406 Bytes
Contents
# frozen_string_literal: true module Command class NoCommand < Base NAME = "no-command" OPTIONS = [version_option].freeze DESCRIPTION = "Called when no command was specified" LONG_DESCRIPTION = <<~HEREDOC - Called when no command was specified HEREDOC HIDE = true def call return unless config.options[:version] Version.new(config).call end end end
Version data entries
6 entries across 6 versions & 1 rubygems