mirror of
https://github.com/hanzo-fi/stack.git
synced 2026-10-30 20:34:43 +00:00
Co-authored-by: David Ragot <[email protected]> Co-authored-by: coderabbitai[bot] <136622811+coderabbitai[bot]@users.noreply.github.com>
22 lines
445 B
Go
22 lines
445 B
Go
package profiles
|
|
|
|
import (
|
|
fctl "github.com/formancehq/fctl/pkg"
|
|
"github.com/spf13/cobra"
|
|
)
|
|
|
|
func NewCommand() *cobra.Command {
|
|
return fctl.NewCommand("profiles",
|
|
fctl.WithAliases("p", "prof", "profile"),
|
|
fctl.WithShortDescription("Profiles management"),
|
|
fctl.WithChildCommands(
|
|
NewDeleteCommand(),
|
|
NewListCommand(),
|
|
NewRenameCommand(),
|
|
NewShowCommand(),
|
|
NewUseCommand(),
|
|
NewSetDefaultOrganizationCommand(),
|
|
),
|
|
)
|
|
}
|