chore(clustertool): prep for more longer description texts
This commit is contained in:
@@ -2,15 +2,21 @@ package cmd
|
||||
|
||||
import (
|
||||
"os"
|
||||
"strings"
|
||||
|
||||
"github.com/rs/zerolog/log"
|
||||
"github.com/spf13/cobra"
|
||||
"github.com/truecharts/public/clustertool/pkg/sops"
|
||||
)
|
||||
|
||||
var advPrecommitLongHelp = strings.TrimSpace(`
|
||||
|
||||
`)
|
||||
|
||||
var precommit = &cobra.Command{
|
||||
Use: "precommit",
|
||||
Short: "Runs the PreCommit encryption check",
|
||||
Long: advPrecommitLongHelp,
|
||||
Run: func(cmd *cobra.Command, args []string) {
|
||||
if err := sops.CheckFilesAndReportEncryption(true, true); err != nil {
|
||||
log.Info().Msgf("Error checking files: %v\n", err)
|
||||
|
||||
Reference in New Issue
Block a user