commands

package
v0.111.4 Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Oct 10, 2022 License: Apache-2.0 Imports: 37 Imported by: 1

Documentation

Index

Constants

This section is empty.

Variables

View Source
var (
	BuildInfo      node.BuildInfo
	GitHubAuthDemo node.GitHubAuthDemo

	DotEnvFile string
)

Functions

func Execute

func Execute(buildInfo node.BuildInfo, githubAuthDemo node.GitHubAuthDemo)

Execute adds all child commands to the root command and sets flags appropriately. This is called by main.main(). It only needs to happen once to the rootCmd.

func InitWunderGraphApiClient

func InitWunderGraphApiClient() *v2wundergraphapi.Client

func InitWunderGraphApiClientWithToken

func InitWunderGraphApiClientWithToken(token string) *v2wundergraphapi.Client

Types

type BuildTimeConfig

type BuildTimeConfig struct {
	DefaultApiEndpoint string
}

type DatabaseIntrospectionResult

type DatabaseIntrospectionResult struct {
	PrismaSchema  string          `json:"prisma_schema"`
	GraphQLSchema string          `json:"graphql_schema"`
	Dmmf          json.RawMessage `json:"dmmf"`
}

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL