generate

package
v0.0.0-...-8f5bff0 Latest Latest
Warning

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

Go to latest
Published: Sep 27, 2019 License: MIT Imports: 4 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

View Source
var (
	// GenerateTablesCmd represents the debug command
	GenerateTablesCmd = &cobra.Command{
		Use:   "generate tables",
		Short: "Generate Tables in Local DynamoDB",
		RunE: func(cmd *cobra.Command, args []string) error {

			c, err := models.ReadDQLConfig()
			if err != nil {
				return err
			}

			os.Setenv("GRAPH_DYNAMO_MODE", "debug")

			helpers.CreateLambdaNetwork()

			helpers.StartLocalDynamoDB()

			return c.CreateResourceTables(force)
		},
	}
)

Functions

This section is empty.

Types

This section is empty.

Jump to

Keyboard shortcuts

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