mirror of
https://github.com/hanzo-fi/stack.git
synced 2026-10-30 20:34:43 +00:00
20 lines
366 B
Go
20 lines
366 B
Go
package users
|
|
|
|
import (
|
|
fctl "github.com/formancehq/fctl/pkg"
|
|
"github.com/spf13/cobra"
|
|
)
|
|
|
|
func NewCommand() *cobra.Command {
|
|
return fctl.NewMembershipCommand("users",
|
|
fctl.WithAliases("u"),
|
|
fctl.WithShortDescription("Users management"),
|
|
fctl.WithChildCommands(
|
|
NewListCommand(),
|
|
NewShowCommand(),
|
|
NewLinkCommand(),
|
|
NewUnlinkCommand(),
|
|
),
|
|
)
|
|
}
|