FEATURE: parallel preview/push is now default (#3132)

This commit is contained in:
Tom Limoncelli 2024-09-26 13:09:13 -04:00 committed by GitHub
parent f18ef35b0d
commit 0f08087978
No known key found for this signature in database
GPG key ID: B5690EEEBB952194
2 changed files with 8 additions and 6 deletions

View file

@ -31,8 +31,9 @@ type zoneCache struct {
var _ = cmd(catMain, func() *cli.Command {
var args PPreviewArgs
return &cli.Command{
Name: "ppreview",
Usage: "read live configuration and identify changes to be made, without applying them",
Name: "preview",
Aliases: []string{"ppreview"},
Usage: "read live configuration and identify changes to be made, without applying them",
Action: func(ctx *cli.Context) error {
return exit(PPreview(args))
},
@ -122,8 +123,9 @@ func (args *PPreviewArgs) flags() []cli.Flag {
var _ = cmd(catMain, func() *cli.Command {
var args PPushArgs
return &cli.Command{
Name: "ppush",
Usage: "identify changes to be made, and perform them",
Name: "push",
Aliases: []string{"ppush"},
Usage: "identify changes to be made, and perform them",
Action: func(ctx *cli.Context) error {
return exit(PPush(args))
},

View file

@ -26,7 +26,7 @@ import (
var _ = cmd(catMain, func() *cli.Command {
var args PreviewArgs
return &cli.Command{
Name: "preview",
Name: "oldpreview",
Usage: "read live configuration and identify changes to be made, without applying them",
Action: func(ctx *cli.Context) error {
return exit(Preview(args))
@ -98,7 +98,7 @@ func (args *PreviewArgs) flags() []cli.Flag {
var _ = cmd(catMain, func() *cli.Command {
var args PushArgs
return &cli.Command{
Name: "push",
Name: "oldpush",
Usage: "identify changes to be made, and perform them",
Action: func(ctx *cli.Context) error {
return exit(Push(args))