We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
If not enough data has been passed to the preact create command, should we prompt the user for the data?
preact create
Currently, Yargs will exit and print help text along with ~Not enough non-option arguments: got 0, need at least 2.
Not enough non-option arguments: got 0, need at least 2
If we were to prompt users for missing data, we'd also print an info message along these lines:
warn('Insufficient command arguments! Prompting...'); info('Alternatively, run `preact create --help` for usage info.');
What should we do?
PS: If we do want to prompt, I have this completed in a local branch.
Extracted from #329 for clarity.
The text was updated successfully, but these errors were encountered:
280bcb3
lukeed
No branches or pull requests
If not enough data has been passed to the
preact create
command, should we prompt the user for the data?Currently, Yargs will exit and print help text along with ~
Not enough non-option arguments: got 0, need at least 2
.If we were to prompt users for missing data, we'd also print an info message along these lines:
What should we do?
Extracted from #329 for clarity.
The text was updated successfully, but these errors were encountered: