From 66a56bfe2d9676fcd7589f49429c3ec9be2e11ce Mon Sep 17 00:00:00 2001 From: Mostafa Ahangarha Date: Thu, 2 Nov 2023 18:01:22 +0330 Subject: [PATCH] Exclude info and version commands --- lib/command/info.rb | 4 ++++ lib/command/version.rb | 4 ++++ 2 files changed, 8 insertions(+) diff --git a/lib/command/info.rb b/lib/command/info.rb index 5a0b2106..03e18f35 100644 --- a/lib/command/info.rb +++ b/lib/command/info.rb @@ -38,6 +38,10 @@ def call end end + def puts_info_header + # Do not print any info header + end + private def app_matches?(app, app_name, app_options) diff --git a/lib/command/version.rb b/lib/command/version.rb index c722c53c..c8353d62 100644 --- a/lib/command/version.rb +++ b/lib/command/version.rb @@ -12,5 +12,9 @@ class Version < Base def call puts Cpl::VERSION end + + def puts_info_header + # Do not print any info header + end end end