Fix cli no prompt for app-name cli arg (#980)

* Fix cli no prompt for app-name cli arg

* Add change file
This commit is contained in:
Zak Patterson 2020-08-19 14:37:46 -05:00 committed by GitHub
parent 6a21965ff3
commit 59e0de7650
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
2 changed files with 7 additions and 1 deletions

View File

@ -0,0 +1,5 @@
---
"tauri.js": patch
---
* Make interactive prompt not ask for app name supplied as cli arg

View File

@ -91,7 +91,8 @@ const getOptionsInteractive = (argv) => {
type: 'input',
name: 'appName',
message: 'What is your app name?',
default: defaultAppName
default: defaultAppName,
when: !argv.A
},
{
type: 'input',