mirror of
https://github.com/foomo/sesamy-cli.git
synced 2025-10-16 12:35:36 +00:00
24 lines
395 B
Go
24 lines
395 B
Go
package cmd
|
|
|
|
import (
|
|
"log/slog"
|
|
|
|
"github.com/foomo/sesamy-cli/cmd/provision"
|
|
"github.com/spf13/cobra"
|
|
)
|
|
|
|
// NewProvision represents the provision command
|
|
func NewProvision(l *slog.Logger) *cobra.Command {
|
|
cmd := &cobra.Command{
|
|
Use: "provision",
|
|
Short: "Provision Google Tag Manager containers",
|
|
}
|
|
|
|
cmd.AddCommand(
|
|
provision.NewServer(l),
|
|
provision.NewWeb(l),
|
|
)
|
|
|
|
return cmd
|
|
}
|