mirror of
https://we.phorge.it/source/arcanist.git
synced 2024-11-10 00:42:40 +01:00
Update some output based on flag being set
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
This commit is contained in:
parent
4f3dee80e5
commit
a746ad8757
1 changed files with 4 additions and 1 deletions
|
@ -206,11 +206,14 @@ EOTEXT
|
|||
}
|
||||
|
||||
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;
|
||||
|
|
Loading…
Reference in a new issue