Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
View Source
var CmdCreate = &cobra.Command{ Use: "create [type] [handler-name]", Short: "Create a new handler/service/repository/model", Example: "nunu create handler user", Args: cobra.ExactArgs(2), Run: func(cmd *cobra.Command, args []string) { }, }
View Source
var CmdCreateAll = &cobra.Command{ Use: "all", Short: "Create a new handler & service & repository & model", Example: "nunu create all user", Args: cobra.ExactArgs(1), Run: runCreate, }
View Source
var CmdCreateHandler = &cobra.Command{ Use: "handler", Short: "Create a new handler", Example: "nunu create handler user", Args: cobra.ExactArgs(1), Run: runCreate, }
View Source
var CmdCreateModel = &cobra.Command{ Use: "model", Short: "Create a new model", Example: "nunu create model user", Args: cobra.ExactArgs(1), Run: runCreate, }
View Source
var CmdCreateRepository = &cobra.Command{ Use: "repository", Short: "Create a new repository", Example: "nunu create repository user", Args: cobra.ExactArgs(1), Run: runCreate, }
View Source
var CmdCreateService = &cobra.Command{ Use: "service", Short: "Create a new service", Example: "nunu create service user", Args: cobra.ExactArgs(1), Run: runCreate, }
Functions ¶
This section is empty.
Types ¶
Click to show internal directories.
Click to hide internal directories.