Sha256: fb3524990864922c87b200c6402d0db73392608760bab32b7a0a00fb56bbcc0f
Contents?: true
Size: 520 Bytes
Versions: 6
Compression:
Stored size: 520 Bytes
Contents
# frozen_string_literal: true module Command class Exists < Base NAME = "exists" OPTIONS = [ app_option(required: true) ].freeze DESCRIPTION = "Shell-checks if an application (GVC) exists, useful in scripts" LONG_DESCRIPTION = <<~HEREDOC - Shell-checks if an application (GVC) exists, useful in scripts, e.g.: HEREDOC EXAMPLES = <<~HEREDOC ```sh if [ cpl exists -a $APP_NAME ]; ... ``` HEREDOC def call exit(!cp.gvc_get.nil?) end end end
Version data entries
6 entries across 6 versions & 1 rubygems