create-wundergraph-app
v0.6.0
Published
Create Wundergraph App CLI command
Downloads
58
Readme
create-wundergraph-app
The best way to start with Wundergraph is by using create-wundergraph-app
. This CLI tool enables you to start with one of the examples/templates provided in the Wundergraph Repository. It even enables you to start with templates provided by the community using the github link.
Local Development
The project has an environment variable called GITHUB_TOKEN that can be used to increase the rate limit of GitHub APIs.
pnpm install
pnpm build
Usage
npx create-wundergraph-app --help
npx create-wundergraph-app --version
Clone an example from the official WunderGraph Repository
npx create-wundergraph-app <project-name>
npx create-wundergraph-app <project-name> -E <example-name>
Clone an arbitrary WunderGraph Template Repository
npx create-wundergraph-app <project-name> -L <github-link>
Integrating WunderGraph with an existing project
npx create-wundergraph-app --init
Local Usage
node ./dist/src/index.js --help
node ./dist/src/index.js --version
node ./dist/src/index.js --init
node ./dist/src/index.js <project-name>
node ./dist/src/index.js <project-name> -E <example-name>
node ./dist/src/index.js <project-name> -L <github-link>