mirror of
https://github.com/hanzo-fi/stack.git
synced 2026-10-30 20:34:43 +00:00
+ Add controller interface + Add renderable interface - A controller define his store. And Running cycle returning a renderable interface - Json is handle between Run & Render is the proper flag is set
19 lines
372 B
Go
19 lines
372 B
Go
package invitations
|
|
|
|
import (
|
|
fctl "github.com/formancehq/fctl/pkg"
|
|
"github.com/spf13/cobra"
|
|
)
|
|
|
|
func NewCommand() *cobra.Command {
|
|
return fctl.NewCommand("invitations",
|
|
fctl.WithShortDescription("Invitations management"),
|
|
fctl.WithAliases("invit", "inv", "i"),
|
|
fctl.WithChildCommands(
|
|
NewListCommand(),
|
|
NewAcceptCommand(),
|
|
NewDeclineCommand(),
|
|
),
|
|
)
|
|
}
|