@reuters-graphics/rngs-io-client

rngs-io-client

npm version

Install

npm i -D @reuters-graphics/rngs-io-client

CLI

Usage
$ rngs-io <command> [options]

Available Commands
token check Check you have a valid API token
token refresh Refresh your API token
stories new Create a new story in RNGS.io
stories connect Connect an existing story in RNGS.io to this project
stories sync Sync local copies of all this project's stories with RNGS.io
stories live Turn on/off live endpoints for stories
stories autolink Autolink story in RNGS.io

For more info, run any command with the `--help` flag
$ rngs-io token check --help
$ rngs-io token refresh --help

Options
-v, --version Displays current version
-h, --help Displays this message

Modules

Read the docs.

Testing

pnpm test

NOTE: Tests must be run in Node 18 because of this outstanding issue with mock-fs support for 20.

Generated using TypeDoc