Pulling Content
1 min read
Pulling Content
Use opencx content pull to download the current help center content from the remote and write it to disk.
Usage
bash
opencx content pull
On success:
Pulled 12 articles in 3 categories
When to Use
- Initial setup -- populate your local content directory for the first time after configuring
opencx.json. - Syncing from dashboard -- pull changes made by teammates directly in the dashboard.
What It Does
- Fetches all categories and articles from the remote help center.
- Writes category directories and updates
categoriesinopencx.json. - Writes article Markdown files with frontmatter.
Warning
opencx content pull overwrites local files. If you have unpushed local changes, they will be lost. Commit or stash your work before pulling.