@jeff-tian/stackbit-pull

0.4.4 • Public • Published

stackbit-pull

Stackbit pull, is a build tool that fetches data from CMS and prepares it for SSG build.

Usage:

Usage: stackbit-pull [options]

Options:
  --stackbit-pull-api-url <stackbitPullApiUrl>  [required] stackbit pull API URL
  --stackbit-api-key <stackbitApiKey>           [required] stackbit API key, can be also specified through STACKBIT_API_KEY environment variable
  -h, --help                                    output usage information

Examples

Using npx:

npx @stackbit/stackbit-pull --stackbit-pull-api-url=https://api.stackbit.com/pull/<stackbitProjectId> --stackbit-api-key=...

Using STACKBIT_API_KEY:

export STACKBIT_API_KEY=...
./stackbit-pull.js --stackbit-pull-api-url=https://api.stackbit.com/pull/<stackbitProjectId>

Readme

Keywords

Package Sidebar

Install

npm i @jeff-tian/stackbit-pull

Weekly Downloads

1

Version

0.4.4

License

MIT

Unpacked Size

12 kB

Total Files

8

Last publish

Collaborators

  • jeff-tian