lib/command/exists.rb in cpl-0.4.1 vs lib/command/exists.rb in cpl-0.5.0

- old
+ new

@@ -5,17 +5,17 @@ NAME = "exists" OPTIONS = [ app_option(required: true) ].freeze DESCRIPTION = "Shell-checks if an application (GVC) exists, useful in scripts" - LONG_DESCRIPTION = <<~HEREDOC + LONG_DESCRIPTION = <<~DESC - Shell-checks if an application (GVC) exists, useful in scripts, e.g.: - HEREDOC - EXAMPLES = <<~HEREDOC + DESC + EXAMPLES = <<~EX ```sh if [ cpl exists -a $APP_NAME ]; ... ``` - HEREDOC + EX def call exit(!cp.fetch_gvc.nil?) end end