Documentation
¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
View Source
var ( // DebugCmd represents the debug command DebugCmd = &cobra.Command{ Use: "debug", Short: "Start Local API for debugging", Long: `This command generates a template.yml for aws-sam-cli and starts a local api to test or debug against`, 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() err = c.CreateResourceTables(force) if err != nil { return err } t, err := models.NewTemplate(c) if err != nil { return err } err = t.Write() if err != nil { return err } c.MakeDebug() startLocalAPI(c.Region) return nil }, } )
Functions ¶
This section is empty.
Types ¶
This section is empty.
Click to show internal directories.
Click to hide internal directories.