package cmd
import (
"github.com/sirupsen/logrus"
"github.com/spf13/cobra"
)
func newListPreviewsCmd(logger *logrus.Logger) *cobra.Command {
cmd := &cobra.Command{
Use: "list",
Short: "List all existing Config Environments.",
}
cmd.AddCommand(
newListWorkspacesCmd(logger),
newListStaleCmd(logger),
)
return cmd
}