🏗️ move make sub-cmd to sub-dir
This commit is contained in:
18
internal/cmd/makecmd/app.go
Normal file
18
internal/cmd/makecmd/app.go
Normal file
@@ -0,0 +1,18 @@
|
||||
package makecmd
|
||||
|
||||
import (
|
||||
"github.com/spf13/cobra"
|
||||
)
|
||||
|
||||
func App() *cobra.Command {
|
||||
_cmd := &cobra.Command{
|
||||
Use: "app",
|
||||
Short: "Make Apps(user, client, gateway, mie, nginx, etc...)",
|
||||
}
|
||||
|
||||
_cmd.AddCommand(
|
||||
appUser(),
|
||||
)
|
||||
|
||||
return _cmd
|
||||
}
|
||||
Reference in New Issue
Block a user