emyl / vagrant-triggers

Allow the definition of arbitrary scripts that will run on the host before and/or after Vagrant commands.
MIT License
546 stars 35 forks source link

Add option to not print command run by run and run_remote #68

Closed BlueMonday closed 6 years ago

BlueMonday commented 8 years ago

Hello @emyl!!!

I was wondering if a boolean parameter could be added to run and run_remote to disable the printing of the commands that are being run. These lines currently print the commands being run:

My current use case is I am prompting the user for a password in a trigger using the ask method of the UI class and then use the password in a remote command. The command being run is always printed which results in user's passwords being printed in plain text in the terminal.