New Research: Supply Chain Attack on Axios Pulls Malicious Dependency from npm.Details →
Socket
Book a DemoSign in
Socket

@stackbit/datocms-pull

Package Overview
Dependencies
Maintainers
11
Versions
4
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

@stackbit/datocms-pull

Tool to fetch content from DatoCMS and save it as files

latest
Source
npmnpm
Version
0.5.1
Version published
Maintainers
11
Created
Source

datocms-pull

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

Usage:

Usage: datocms-pull [options]

Options:
  --ssg <ssg>                                       [required] Which SSG are you using [jekyll, hugo, gatbsby]
  --datocms-access-token <datocmsAccessToken>       [required] DatoCMS access token, can be also specified through DATOCMS_ACCESS_TOKEN environment variable
  -h, --help                                        output usage information
  • ssg: Defines which file format should be used when creating pages and data for your site. Required
  • datocmsAccessToken: DatoCMS access token, can be obtained from the API tokens admin page of your DatoCMS project https://{project_id}.admin.datocms.com/admin/access_tokens. Can be also specified via DATOCMS_ACCESS_TOKEN environment variable.

Examples

Using npx:

npx @stackbit/datocms-pull --ssg gatsby --datocms-access-token $DATOCMS_ACCESS_TOKEN

FAQs

Package last updated on 11 May 2021

Did you know?

Socket

Socket for GitHub automatically highlights issues in each pull request and monitors the health of all your open source dependencies. Discover the contents of your packages and block harmful activity before you install or update your dependencies.

Install

Related posts