nerd-dictation icon indicating copy to clipboard operation
nerd-dictation copied to clipboard

Add '--commands' command line argument to restrict input to a limited set of commands

Open ideasman42 opened this issue 3 years ago • 0 comments

In situations where only a limited set of commands is needed, it would be useful to pass this list in as an argument.

This has the advantage that dictation could end immediately once a unique command was matched.

It would also allow for fuzzy matching if exact matches could not be found.


Example:

COMMAND="$(nerd-dictation begin --commands=valid_commands.txt --timeout=1.0)"

ideasman42 avatar May 28 '21 03:05 ideasman42