ADD: added basic backend function plus a mockup for a cli interface
This commit is contained in:
13
backend/cmd/cli/user/user.go
Normal file
13
backend/cmd/cli/user/user.go
Normal file
@@ -0,0 +1,13 @@
|
||||
package user
|
||||
|
||||
import "github.com/spf13/cobra"
|
||||
|
||||
var UserCmd = &cobra.Command{
|
||||
Use: "user",
|
||||
Short: "User management",
|
||||
}
|
||||
|
||||
func init() {
|
||||
UserCmd.AddCommand(listCmd)
|
||||
UserCmd.AddCommand(getCmd)
|
||||
}
|
||||
Reference in New Issue
Block a user