dry run for forget cmd

This commit is contained in:
2021-04-11 14:22:46 +02:00
parent 05be58a3a7
commit 5d92b5bcc1
4 changed files with 12 additions and 2 deletions

View File

@@ -17,6 +17,7 @@ package cmd
import (
"errors"
"fmt"
"github.com/cupcakearmy/autorestic/internal"
"github.com/spf13/cobra"
@@ -33,6 +34,7 @@ var checkCmd = &cobra.Command{
config := internal.GetConfig()
err := config.CheckConfig()
cobra.CheckErr(err)
fmt.Println("Everyting is fine.")
},
}