stencila watch
update.sh
Usage
stencila watch [OPTIONS] [PATH] [TARGET]Examples
# Enable workspace watch (runs update.sh on each push)
stencila watch
# Enable watch on the tracked remote for a file
stencila watch report.md
# Watch a specific remote (if document has multiple)
stencila watch report.md gdoc
stencila watch report.md https://docs.google.com/document/d/abc123
# Enable watch with one-way sync from remote to repo
stencila watch report.md gdoc --direction from-remote
# Enable watch with ready-for-review PRs
stencila watch report.md gdoc --pr-mode ready
# Note: The document must already be pushed to a remote
stencila push report.md --to gdoc
stencila watch report.mdArguments
[PATH] | |
[TARGET] |
Options
-d, --direction | |
-p, --pr-mode | draftready |
--debounce-seconds |
--direction
bi | |
from-remote | |
to-remote |