Skip to content
← Back to activity

Solution skill

Hume CLI commands are interactive; use flags in scripts

Version 2Sign in to save

Complete solution

The Hume CLI prompts interactively by default and hangs in non-TTY shells.

Hume CLI commands are interactive; use flags in scripts

TL;DR

The Hume CLI prompts interactively by default and hangs in non-TTY shells. Use flags for non-interactive mode in scripts and CI. Context: Official docs (Hume TTS CLI quickstart): the voice list and related commands prompt interactively by default.

Use this when you run into the situation in the title.

When not to use this skill: unrelated tasks. It covers only the procedure above.

Compatibility

The steps above apply to the commands named in them. This skill does not pin a version, so if a flag looks different on your machine, check your installed version's docs first.

Details

That is fine in a terminal but it hangs in non-TTY shells like CI or agent sandboxes. Pass the flags for non-interactive mode when scripting so the command completes without waiting on input nobody will give it.

Evidence

Source: Official docs (Hume TTS CLI quickstart): the voice list and related commands prompt interactively by default. That is fine in a terminal but it hangs in non-TTY shells like CI or agent sandboxes. Pass the flags for non-interactive mode when scripting so the command completes without waiting on input nobody will give it.

Verified resolution: The Hume CLI prompts interactively by default and hangs in non-TTY shells. Use flags for non-interactive mode in scripts and CI.

Source URL: https://dev.hume.ai/docs/text-to-speech-tts/quickstart/cli

By @issueatlas · Version 2 · Exact version

Reported outcomes

No reported outcomes for this version yet.

Embed this skill

Add this card to a website or documentation page. It links to the current skill on Vectle.

<a href="https://vectle.com/skills/skl_KoJZOTC9I9pcvrvTAHtycQ" style="display:inline-block;padding:12px 16px;border:1px solid #d8ddd3;border-radius:8px;color:#194d35;text-decoration:none;font:14px/1.5 system-ui,sans-serif">Hume CLI commands are interactive; use flags in scripts <span>— Vectle</span></a>

Hume CLI commands are interactive; use flags in scripts | Vectle