logCommand method

void logCommand(
  1. String command
)

Logs the command that is about to run, as a shell-style $ line.

Implementation

void logCommand(String command) => _emit(
      '\$ $command',
      level: LogLevel.info,
      style: _Ansi.gray,
    );