I'm running the following command in a non-interactive bash script:
# ng new example-project --style=css --ssr=false --skip-git --skip-installHere is the output:
? Would you like to enable autocompletion? This will set up your terminal so pressing TAB while typing Angular CLI commands will show possible options and autocomplete arguments. (Enabling autocompletion will modify configuration files in your home directory.) (Y/n) It will prompt to enable autocompletion and wait for the input "Y". So my bash script hangs at this point.
I have tried to run ng completion but no option to disable it:
https://angular.io/cli/completion
# ng completion --helpng completionSet up Angular CLI autocompletion for your terminal.Commands: ng completion script Generate a bash and zsh real-time type-ahead autocompletion script.Options: --help Shows a help message for this command in the console. What option can be used to bypass the "Would you like to enable autocompletion" with "Y" when trying to run "ng new example-project ..."