From 0b6f671094a08402127b08361dc019566f945233 Mon Sep 17 00:00:00 2001 From: EmilyGraceSeville7cf Date: Sun, 15 Sep 2024 22:18:39 +1000 Subject: [PATCH] feat(completion): support termux-microphone-record command --- .../completions/termux-microphone-record.fish | 51 +++++++++++++++++++ 1 file changed, 51 insertions(+) create mode 100644 share/completions/termux-microphone-record.fish diff --git a/share/completions/termux-microphone-record.fish b/share/completions/termux-microphone-record.fish new file mode 100644 index 000000000..74b47af7b --- /dev/null +++ b/share/completions/termux-microphone-record.fish @@ -0,0 +1,51 @@ +set command termux-microphone-record + +complete -c $command -f + +complete -c $command \ + -s h \ + -d 'Show [h]elp' + +complete -c $command \ + -s d \ + -d Record + +complete -c $command \ + -s f \ + -d 'Specify a [f]ile to save recording to' \ + -F -r + +complete -c $command \ + -a '0\tdefault' \ + -s l \ + -d 'Specify a recording length [l]imit' \ + -x + +complete -c $command \ + -a 'aac amr_wb amr_nb' \ + -s e \ + -d 'Specify a recording [e]ncoder' \ + -x + +complete -c $command \ + -s b \ + -d 'Specify a recording [b]itrate' \ + -x + +complete -c $command \ + -s r \ + -d 'Specify a recording sampling [r]ate' \ + -x + +complete -c $command \ + -s c \ + -d 'Specify a recording [c]hannel count' \ + -x + +complete -c $command \ + -s i \ + -d 'Show [i]nformation about the current recording' + +complete -c $command \ + -s q \ + -d '[q]uit the current recording'