mirror of
https://github.com/StackExchange/dnscontrol.git
synced 2025-09-18 11:04:23 +08:00
FEATURE: parallel preview/push is now default (#3132)
This commit is contained in:
parent
f18ef35b0d
commit
0f08087978
2 changed files with 8 additions and 6 deletions
|
@ -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))
|
||||
},
|
||||
|
|
|
@ -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))
|
||||
|
|
Loading…
Add table
Reference in a new issue