Hi - I'm using `cli` as part of a bigger automatio...
# sdf
m
Hi - I'm using
cli
as part of a bigger automation project Is there any way to have
sdfcli adddependencies
executed without the prompt to write
YES
in order to proceed? Thanks!
s
depending on how you're invoking your CLI commands you can pass something like "YES" or "Y" to stdin and that should automate it
m
Use Node CLI
m
OK, after trying several options, this one worked when invoking from PowerShell:
echo "YES" | sdfcli adddependencies -all -p $mainDeploymentFolder
s
congrtulations