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

0.57.3 • 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

Dependencies (24)

Dev Dependencies (14)

Package Sidebar

Install

npm i wgc

Weekly Downloads

9,670

Version

0.57.3

License

Apache-2.0

Unpacked Size

560 kB

Total Files

196

Last publish

Collaborators

  • starptech