Changeset View
Changeset View
Standalone View
Standalone View
src/workflow/ArcanistInspectWorkflow.php
Show All 28 Lines | ); | ||||
} | } | ||||
public function runWorkflow() { | public function runWorkflow() { | ||||
$is_explore = $this->getArgument('explore'); | $is_explore = $this->getArgument('explore'); | ||||
$objects = $this->getArgument('objects'); | $objects = $this->getArgument('objects'); | ||||
$inspectors = ArcanistRefInspector::getAllInspectors(); | $inspectors = ArcanistRefInspector::getAllInspectors(); | ||||
foreach ($inspectors as $inspector) { | |||||
$inspector->setWorkflow($this); | |||||
} | |||||
if (!$objects) { | if (!$objects) { | ||||
echo tsprintf( | echo tsprintf( | ||||
"%s\n\n", | "%s\n\n", | ||||
pht('Choose an object to inspect:')); | pht('Choose an object to inspect:')); | ||||
foreach ($inspectors as $inspector) { | foreach ($inspectors as $inspector) { | ||||
echo tsprintf( | echo tsprintf( | ||||
" - %s\n", | " - %s\n", | ||||
▲ Show 20 Lines • Show All 245 Lines • Show Last 20 Lines |