Files
RAGOT DavidandGitHub 0df34a4d94 feat: fctl output=<json> (#363)
+ 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
2023-07-07 09:36:12 +02:00

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(),
),
)
}