3 ms·
Not sure if the CLI does this directly, but here's a command that takes text either as an arg or through stdin. function tts() { if [ -p /dev/stdin ]
by dcre 2y ago
Not sure if the CLI does this directly, but here's a command that takes text either as an arg or through stdin.
function tts() {
if [ -p /dev/stdin ]; then
edge-playback --file -
else
edge-playback --text "$*"
fi
}