mirror of
https://github.com/hanzo-fi/stack.git
synced 2026-10-30 20:34:43 +00:00
23 lines
499 B
Go
23 lines
499 B
Go
package triggers
|
|
|
|
import (
|
|
"github.com/formancehq/fctl/cmd/orchestration/triggers/occurrences"
|
|
fctl "github.com/formancehq/fctl/pkg"
|
|
"github.com/spf13/cobra"
|
|
)
|
|
|
|
func NewCommand() *cobra.Command {
|
|
return fctl.NewStackCommand("triggers",
|
|
fctl.WithAliases("trig", "t"),
|
|
fctl.WithShortDescription("Triggers management"),
|
|
fctl.WithChildCommands(
|
|
NewListCommand(),
|
|
NewShowCommand(),
|
|
NewDeleteCommand(),
|
|
NewCreateCommand(),
|
|
NewTestCommand(),
|
|
occurrences.NewCommand(),
|
|
),
|
|
)
|
|
}
|