discussion_helper.cli module

The command line — discussion-helper.

Module summary

Two commands, and the second one is why this file is worth reading.

talk opens the microphone and holds a conversation. rehearse holds the same conversation with the microphone, the model and the sound card replaced by fakes — the same loop, the same floor handling, the same interruption logic, running in a second with nothing installed. It is how you check that this package works before deciding whether the room does.

That distinction matters more than it looks. When a voice agent misbehaves, the first question is always “is it the loop or is it the hardware”, and without something like rehearse the only way to ask it is to change one thing and listen again.

One command line, one parser. Until 0.4.0 these two commands were declared twice — two parsers over one shared handler table, the second reachable under a name that advertised the parsing library — and keeping the pair in step cost more than the second door was worth.

Author

Warith HARCHAOUI — https://linkedin.com/in/warith-harchaoui

discussion_helper.cli.main()[source]

Console-script entry point.

Return type:

None