encoding: utf-8
Command | = | CommandRunner | @deprecated Use {Nanoc::CLI::CommandRunner} instead |
Adds the given command to the collection of available commands.
@param [Cri::Command] cmd The command to add
@return [void]
@param [Boolean] boolean true if debug output should be enabled,
false if it should not
@return [void]
@since 3.2.0
Loads the command in the file with the given filename.
@param [String] filename The name of the file that contains the command
@return [Cri::Command] The loaded command
Wraps the given stream in a cleaning stream. The cleaning streams will have the proper stream cleaners configured.
@param [IO] io The stream to wrap
@return [::Nanoc::CLI::CleaningStream]