docs: add a working example for non-interactive usage