Skip to content
b2o2i edited this page Apr 3, 2026 · 3 revisions

st-rm — Remove items from a story container

Removes a story or a fact-check entry from a .json container. Use -s to specify the story and -f to specify the fact-check.

Examples

st-rm -s 3 subject.json              # remove story 3
st-rm -d 2 subject.json              # remove data item 2
st-rm -s 2 -f 1 subject.json         # remove fact-check 1 from story 2
st-rm -F -s 2 subject.json           # clear all fact-checks from story 2
st-rm -F --all-stories subject.json  # clear all fact-checks from every story

Options: -d data -s story -f fact -F clear-facts --all-stories -v -q

Related: st-ls · st-cat


For developers

Deletes data items, stories, or fact-check reports from a .json container. Supports bulk-clearing all fact-checks and claim segments from one story or every story in the container.

All index arguments are 1-based, matching the output of st-ls.

Clone this wiki locally