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