Summary: Makes sense now
Test Plan: Get someone else to test it
Reviewers: epriestley
CC: aran, Korvin
Maniphest Tasks: T3342
Differential Revision: https://secure.phabricator.com/D6307
}
echo "Creating new libphutil library in '{$path}'.\n";
- echo "Choose a name for the new library.\n";
+
do {
$name = $this->getArgument("library-name");
if ($name === null) {
+ echo "Choose a name for the new library.\n";
$name = phutil_console_prompt('What do you want to name this library?');
+ } else {
+ echo "Using library name {$name}.\n";
}
if (preg_match('/^[a-z-]+$/', $name)) {
break;