Sha256: f997dd2b25a9507f795f5cc86826aa09e293eef82e160b93777cb49c709bc368
Contents?: true
Size: 513 Bytes
Versions: 1
Compression:
Stored size: 513 Bytes
Contents
module Dag module CLI class SubCommand < Base include Dag::CLI::Utils::TimeFormat def self.banner(task, namespace = false, subcommand = true) super end desc 'help [COMMAND]', 'Describe available commands or one specific command' 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 end end end
Version data entries
1 entries across 1 versions & 1 rubygems
Version | Path |
---|---|
iij-dag-1.0.1 | lib/dag/cli/sub_command.rb |