graphcdn

The CLI you need to work with GraphCDN from your CLI. See https://docs.graphcdn.io/docs/cli for the complete documentation.

Usage no npm install needed!

<script type="module">
  import graphcdn from 'https://cdn.skypack.dev/graphcdn';
</script>

README

GraphCDN CLI

The CLI you need to work with GraphCDN from your CLI. See https://docs.graphcdn.io/docs/cli for the complete documentation.

Commands

login   Authenticate the CLI
init   Setup a new GraphCDN app
pull   Pull the latest app config to ${chalk.dim(
  'graphcdn.yml',
)}
  ls   List all apps
push   Push the latest changes from ${chalk.dim('graphcdn.yml')}
serve  Use your local backend with GraphCDN (BETA)

every one of these can be suffixed with --help for additional information.

Installation

To install our dependencies

yarn

Building

To build the output

yarn build

When we want to use the CLI locally we can run it by doing

node ./build/index.js