mirror of
https://github.com/kamilwylegala/cakephp2-php8.git
synced 2025-01-19 02:56:15 +00:00
simpler bake prompt
we don't need to repeat the defualt path twice, and a user can just as easily type "appname" instead of /some/absolute/path/appname
This commit is contained in:
parent
4ab27d6fea
commit
1c62a66b0b
1 changed files with 2 additions and 3 deletions
|
@ -54,9 +54,8 @@ class ProjectTask extends Shell {
|
|||
}
|
||||
|
||||
while (!$project) {
|
||||
$prompt = __d('cake_console', "What is the path for this app including the app directory name?\n Example:");
|
||||
$default = APP_PATH . 'myapp';
|
||||
$project = $this->in($prompt . $default, null, $default);
|
||||
$prompt = __d('cake_console', "What is the path to the project you want to bake?");
|
||||
$project = $this->in($prompt, null, APP_PATH . 'myapp');
|
||||
}
|
||||
|
||||
if ($project) {
|
||||
|
|
Loading…
Add table
Reference in a new issue