Skip to content

Commit

Permalink
Exclude info and version commands
Browse files Browse the repository at this point in the history
  • Loading branch information
ahangarha committed Nov 2, 2023
1 parent 40184f4 commit 66a56bf
Show file tree
Hide file tree
Showing 2 changed files with 8 additions and 0 deletions.
4 changes: 4 additions & 0 deletions lib/command/info.rb
Original file line number Diff line number Diff line change
Expand Up @@ -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)
Expand Down
4 changes: 4 additions & 0 deletions lib/command/version.rb
Original file line number Diff line number Diff line change
Expand Up @@ -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

0 comments on commit 66a56bf

Please sign in to comment.