Skip to main content

Module publish

Module publish 

Source
Expand description

xil publish โ€” draft social media posts for an episode through the Claude API. Port of XILP012_publish.py.

Structsยง

Args ๐Ÿ”’
Summary ๐Ÿ”’

Constantsยง

SYSTEM_PROMPT ๐Ÿ”’

Functionsยง

build_user_message ๐Ÿ”’
command
The clap definition behind --help, for man pages.
execute ๐Ÿ”’
extract_summary ๐Ÿ”’
get_or ๐Ÿ”’
entry.get(k, default) โ€” a present null stays None.
publish_episode ๐Ÿ”’
publish_episode(...) โ†’ success. Err(SysExit) for the key check.
py_type ๐Ÿ”’
run
section_label ๐Ÿ”’
str_of ๐Ÿ”’