Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
View Source
var DemoCommand = &cobra.Command{ Use: "demo", Short: "demo for framework", Run: func(c *cobra.Command, args []string) { container := c.GetContainer() appService := container.MustMake(contract.AppKey).(contract.App) fmt.Println("app base folder:", appService.BaseFolder()) }, }
helpCommand show current envionment
Functions ¶
func AddKernelCommands ¶
AddKernelCommands will add all command/* to root command
Types ¶
Click to show internal directories.
Click to hide internal directories.