Class: Dag::CLI::SubCommand
Class Method Summary
collapse
Instance Method Summary
collapse
#time_format
#terminal_table
Class Method Details
.banner(task, namespace = false, subcommand = true) ⇒ Object
6
7
8
|
# File 'lib/dag/cli/sub_command.rb', line 6
def self.banner(task, namespace = false, subcommand = true)
super
end
|
Instance Method Details
#help(command = nil, subcommand = false) ⇒ Object
11
12
13
14
15
|
# File 'lib/dag/cli/sub_command.rb', line 11
def help(command = nil, subcommand = false)
super
cmd = self.class.name.split('::').last.downcase
shell.say "Type 'dag #{cmd} help [COMMAND]' for more information on a specific command"
end
|