Skip to Content

wunderctl generate

Published: 2022-05-23

There might be situations, e.g. in a CI-CD environment, where you don't want to start a WunderGraph Server, but need to turn the TypeScript configuration into a valid WunderGraph configuration.

In these such scenarios, you can use the wunderctl generate command to generate a WunderGraph configuration.

Prerequisites#

Make sure you're running the command from a valid WunderGraph project directory. Such a directory can be initialized with the wunderctl init command, see the wunderctl init command for more information.

Flags#

--wundergraph-dir#

In case you want to run the command from a different directory than the one containing the WunderGraph project, you can specify the directory with this flag.

Defaults to the current working directory.


Product

Comparisons

Subscribe to our newsletter!

Stay informed when great things happen! Get the latest news about APIs, GraphQL and more straight into your mailbox.

© 2022 WunderGraph