Changeset View
Changeset View
Standalone View
Standalone View
src/log/ArcanistLogEngine.php
| Show First 20 Lines • Show All 86 Lines • ▼ Show 20 Lines | final class ArcanistLogEngine | ||||
| public function writeHint($label, $message) { | public function writeHint($label, $message) { | ||||
| return $this->writeMessage( | return $this->writeMessage( | ||||
| $this->newMessage() | $this->newMessage() | ||||
| ->setColor('cyan') | ->setColor('cyan') | ||||
| ->setLabel($label) | ->setLabel($label) | ||||
| ->setMessage($message)); | ->setMessage($message)); | ||||
| } | } | ||||
| public function writeWaitingForInput() { | |||||
| if (!phutil_is_interactive()) { | |||||
| return; | |||||
| } | |||||
| $this->writeStatus( | |||||
| pht('INPUT'), | |||||
| pht('Waiting for input on stdin...')); | |||||
| } | |||||
| } | } | ||||