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.
npx wgc schema push --service reviews --endpoint https://my-service.com/graphql <schema>.graphqlRun the following script to test your changes locally:
pnpm build && pnpm wgc schema pushEverything behind wgc is passed to the wgc cli.
The CLI uses the following environment variables to authenticate with the control plane:
COSMO_API_KEY- API key for the control planeCOSMO_API_URL- URL of the control plane