Run gofmt on cookie-banner CLI commands

Signed-off-by: Émile Ré <emile@getprobo.com>
This commit is contained in:
Émile Ré
2026-05-01 16:07:22 +04:00
parent 6d22d68acf
commit e7c2118b7b
2 changed files with 2 additions and 2 deletions

View File

@@ -21,11 +21,11 @@ import (
"go.probo.inc/probo/pkg/cmd/cookie-banner/create"
"go.probo.inc/probo/pkg/cmd/cookie-banner/deactivate"
"go.probo.inc/probo/pkg/cmd/cookie-banner/delete"
"go.probo.inc/probo/pkg/cmd/cookie-banner/latestversion"
"go.probo.inc/probo/pkg/cmd/cookie-banner/list"
"go.probo.inc/probo/pkg/cmd/cookie-banner/publish"
"go.probo.inc/probo/pkg/cmd/cookie-banner/translate"
"go.probo.inc/probo/pkg/cmd/cookie-banner/update"
"go.probo.inc/probo/pkg/cmd/cookie-banner/latestversion"
"go.probo.inc/probo/pkg/cmd/cookie-banner/view"
)

View File

@@ -54,7 +54,7 @@ func NewCmdLatestVersion(f *cmdutil.Factory) *cobra.Command {
cmd := &cobra.Command{
Use: "latest-version <id>",
Short: "Show the latest version of a cookie banner",
Args: cobra.ExactArgs(1),
Args: cobra.ExactArgs(1),
RunE: func(cmd *cobra.Command, args []string) error {
if err := cmdutil.ValidateOutputFlag(flagOutput); err != nil {
return err