mirror of
https://github.com/hanzo-fi/stack.git
synced 2026-10-30 20:34:43 +00:00
21 lines
408 B
Go
21 lines
408 B
Go
package instances
|
|
|
|
import (
|
|
fctl "github.com/formancehq/fctl/pkg"
|
|
"github.com/spf13/cobra"
|
|
)
|
|
|
|
func NewCommand() *cobra.Command {
|
|
return fctl.NewStackCommand("instances",
|
|
fctl.WithAliases("ins", "i"),
|
|
fctl.WithShortDescription("Instances management"),
|
|
fctl.WithChildCommands(
|
|
NewListCommand(),
|
|
NewShowCommand(),
|
|
NewDescribeCommand(),
|
|
NewSendEventCommand(),
|
|
NewStopCommand(),
|
|
),
|
|
)
|
|
}
|