Documentation
¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
View Source
var RemoveCmd = &cobra.Command{ Use: "remove name", Short: "Remove schema or function from your project", Args: cobra.ExactArgs(1), RunE: func(cmd *cobra.Command, args []string) error { name := args[0] c, err := models.ReadDQLConfig() if err != nil { return err } c.Remove(name) err = c.Write() if err != nil { return err } return c.RemoveFiles(name) }, PostRun: func(cmd *cobra.Command, args []string) { printRemoveMsg() }, }
RemoveCmd represents the remove command
Functions ¶
This section is empty.
Types ¶
This section is empty.
Click to show internal directories.
Click to hide internal directories.