Search code examples
cordovaazure-devopstaco

Can you suppress the feedback input in taco build?


I wrote a batch script to build my apache cordova project with taco tools.

taco build android --release

I'm trying to run it from VS Team Services (formerly known as Visual Studio Online) Build. It works great until it asks if I want to provide feedback.

C:\a\1\s>taco build android --release --gradleArg=--no-daemon

Help us improve the quality of Microsoft products and services If you choose to participate, Microsoft will collect usage information on your use of the software and services to identify trends and usage patterns. Microsoft will not collect personal information. You may change your participation option at any time by running "taco feedback". You can read our privacy policy that provides information on what data we collect and how we will use it at https://www.visualstudio.com/en-us/dn948229 Your response to this question is automatically collected.

Are you willing to participate? [y/n]

Can I suppress this somehow since no one is there to type yes or no?


Solution

  • There is a command line way to handle this case using the latest taco-cli package. Please run the following command, to send yes to our telemetry. You can also pass in 'no' if you don't want to send the telemetry. The command takes the std-console and pipe it as the user's input to the feedback command without needing user intervention.

    echo yes | taco feedback
    

    You can then run the taco command.

    Let us know if you have any other issues and thanks for using TACO-CLI.

    SOak.