Skip to content

Commit

Permalink
Remove minimal config
Browse files Browse the repository at this point in the history
  • Loading branch information
ahangarha committed Nov 28, 2023
1 parent 4a98c06 commit 731b844
Show file tree
Hide file tree
Showing 5 changed files with 0 additions and 13 deletions.
1 change: 0 additions & 1 deletion lib/command/base.rb
Original file line number Diff line number Diff line change
Expand Up @@ -25,7 +25,6 @@ class Base # rubocop:disable Metrics/ClassLength
HIDE = false
# Whether or not to show key information like ORG and APP name in commands
WITH_INFO_HEADER = true
WITH_MINIMAL_CONFIG = false

NO_IMAGE_AVAILABLE = "NO_IMAGE_AVAILABLE"

Expand Down
1 change: 0 additions & 1 deletion lib/command/no_command.rb
Original file line number Diff line number Diff line change
Expand Up @@ -10,7 +10,6 @@ class NoCommand < Base
DESC
HIDE = true
WITH_INFO_HEADER = false
WITH_MINIMAL_CONFIG = true

def call
if config.options[:version]
Expand Down
1 change: 0 additions & 1 deletion lib/command/version.rb
Original file line number Diff line number Diff line change
Expand Up @@ -9,7 +9,6 @@ class Version < Base
- Can also be done with `cpl --version` or `cpl -v`
DESC
WITH_INFO_HEADER = false
WITH_MINIMAL_CONFIG = true

def call
puts Cpl::VERSION
Expand Down
9 changes: 0 additions & 9 deletions lib/core/minimal_config.rb

This file was deleted.

1 change: 0 additions & 1 deletion lib/cpl.rb
Original file line number Diff line number Diff line change
Expand Up @@ -147,7 +147,6 @@ def self.all_base_commands
examples = command_class::EXAMPLES
hide = command_class::HIDE || deprecated
with_info_header = command_class::WITH_INFO_HEADER
with_minimal_config = command_class::WITH_MINIMAL_CONFIG

long_description += "\n#{examples}" if examples.length.positive?

Expand Down

0 comments on commit 731b844

Please sign in to comment.