Interactive login via CLI | Don't leak password to command history
Is there a way to execute a console command without leaking the password into the command history?
I wanted to execute:
php quiqqer.php --username=* --password=* --tool=package:cache-optimize --project=*
Which stored the username and password in the bash history log.
Is there a way to enter the credentials interactively so they aren't stored in the log?
Edited by Jan Wennrich