2024-09-16 15:43:11 +00:00
|
|
|
set command termux-tts-speak
|
|
|
|
|
|
|
|
complete -c $command -f
|
|
|
|
|
|
|
|
complete -c $command \
|
|
|
|
-s h \
|
|
|
|
-d 'Show [h]elp'
|
|
|
|
|
|
|
|
complete -c $command \
|
|
|
|
-a '(__fish_termux_api__complete_tts_engines)' \
|
|
|
|
-s e \
|
|
|
|
-d 'Specify the TTS [e]ngine for a speech' \
|
|
|
|
-x
|
|
|
|
|
|
|
|
complete -c $command \
|
|
|
|
-s l \
|
|
|
|
-d 'Specify the [l]anguage of a speech' \
|
|
|
|
-x
|
|
|
|
|
|
|
|
complete -c $command \
|
|
|
|
-s n \
|
|
|
|
-d 'Specify the regio[n] of a speech' \
|
|
|
|
-x
|
|
|
|
|
|
|
|
complete -c $command \
|
|
|
|
-s v \
|
|
|
|
-d 'Specify the language [v]ariant of a speech' \
|
|
|
|
-x
|
|
|
|
|
|
|
|
complete -c $command \
|
|
|
|
-s p \
|
|
|
|
-d 'Specify the [p]itch of a speech' \
|
|
|
|
-x
|
|
|
|
|
|
|
|
complete -c $command \
|
|
|
|
-s r \
|
|
|
|
-d 'Specify the [r]ate of a speech' \
|
|
|
|
-x
|
|
|
|
|
|
|
|
complete -c $command \
|
2024-09-16 16:03:22 +00:00
|
|
|
-a '(__fish_termux_api__complete_stream_ids | string replace --regex "(notification)" "\$1\tdefault")' \
|
2024-09-16 15:43:11 +00:00
|
|
|
-s s \
|
|
|
|
-d 'Specify the [s]tream for a speech' \
|
|
|
|
-x
|