Class: Packwerk::Commands::HelpCommand

Inherits:
BaseCommand show all
Extended by:
T::Sig
Defined in:
lib/packwerk/commands/help_command.rb

Instance Method Summary collapse

Methods inherited from BaseCommand

description, #initialize

Constructor Details

This class inherits a constructor from Packwerk::Commands::BaseCommand

Instance Method Details

#runObject



12
13
14
15
16
17
18
19
20
21
# File 'lib/packwerk/commands/help_command.rb', line 12

def run
  err_out.puts(<<~USAGE)
    Usage: #{$PROGRAM_NAME} <subcommand>

    Subcommands:
    #{command_help_lines}
  USAGE

  true
end