Expand description
xil cleanup โ delete stems whose seq no longer matches the parsed
script. Port of XILP008_stale_stem_cleanup.py.
Structsยง
Constantsยง
- USAGE ๐
- argparseโs own usage block, wrapped at its default 80 columns. The
three
parser.errorsites print this verbatim before their message, and clapโs usage rendering is not the same shape.
Functionsยง
- command
- The clap definition behind
--help, for man pages. - execute ๐
- find_
stale_ stems - Stems that disagree with the current parsed entries.
- pad ๐
- Pad to
widthby character count (f"{s:40s}"). - parser_
error ๐ parser.error(msg): usage on stderr, the message, exit 2.- run
- stem_of ๐
os.path.splitext(os.path.basename(p))[0].