wgc
TypeScript icon, indicating that this package has built-in type declarations

0.65.1 • Public • Published

WunderGraph Cosmo CLI aka "wgc"

npm version

Getting started

Official documentation: https://cosmo-docs.wundergraph.com/cli

Prerequisites

The cosmo CLI tool wgc. Used to manage the cosmo platform e.g. pushing schema, check schemas, creating new projects, managing users, etc. It interacts with the control plane.

Installation

npx wgc --help
# or install it globally
npm install -g wgc --help

Development

Ensure that at least Node.js 20.6.0 is installed because we rely on the native .env file support.

Replace env.example with .env and fill in the required values. By default, we point to the services of your local development environment.

Run any command with pnpm wgc to test your changes locally directly.

pnpm wgc ...

Everything behind wgc is passed to the wgc cli. This allows you to test your changes locally.

Run tests:

pnpm test

/wgc/

    Package Sidebar

    Install

    npm i wgc

    Weekly Downloads

    51,409

    Version

    0.65.1

    License

    Apache-2.0

    Unpacked Size

    711 kB

    Total Files

    229

    Last publish

    Collaborators

    • starptech