mirror of
https://github.com/foomo/sesamy-cli.git
synced 2025-10-16 12:35:36 +00:00
21 lines
349 B
Go
21 lines
349 B
Go
package cmd
|
|
|
|
import (
|
|
"github.com/foomo/sesamy-cli/cmd/list"
|
|
"github.com/spf13/cobra"
|
|
)
|
|
|
|
// NewList represents the list command
|
|
func NewList(root *cobra.Command) *cobra.Command {
|
|
cmd := &cobra.Command{
|
|
Use: "list",
|
|
Short: "List Google Tag Manager containers",
|
|
}
|
|
|
|
list.NewServer(cmd)
|
|
list.NewWeb(cmd)
|
|
root.AddCommand(cmd)
|
|
|
|
return cmd
|
|
}
|