Cli options -n --no-prompt not working
Closed this issue · 2 comments
hexaltation commented
Hello,
When passing the following command :
$ npx frontity create --no-prompt --theme @frontity/mars-theme myapp
or
$ npx frontity create -n --theme @frontity/mars-theme myapp
I'm prompted back
? Do you want to receive framework updates by email? (y/N)
Am I misunderstanding --no-prompt
option purpose ?
This blocks my automation for CI/CD cause it's waiting for an answer that will never come.
mburridge commented
@hexaltation Thanks for raising this. You're quite right -n/--no-prompt
should mean that the command can be used in scripts that don't require any intervention on the part of the user. I've brought this to the attention of our dev team.
Please raise the issue here where it will be more visible to them.
Alternatively, since Frontity is open source, feel free to create a PR with your own fix.
juanmaguitar commented
This seems to be a bug
frontity/frontity#538
I close this issue as it will be managed by fixing the code