Skip to content

Commit 6776c1c

Browse files
committed
style(cli): fix gofmt formatting after EnableShellCompletion removal
1 parent 64ac510 commit 6776c1c

File tree

8 files changed

+21
-22
lines changed

8 files changed

+21
-22
lines changed

pkg/cli/bundle.go

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -192,9 +192,9 @@ func parseBundleCmdOptions(cmd *cli.Command) (*bundleCmdOptions, error) {
192192
//nolint:funlen // bundle command is inherently large (flags + description + action)
193193
func bundleCmd() *cli.Command {
194194
return &cli.Command{
195-
Name: "bundle",
196-
Category: functionalCategoryName,
197-
Usage: "Generate deployment bundle from a given recipe.",
195+
Name: "bundle",
196+
Category: functionalCategoryName,
197+
Usage: "Generate deployment bundle from a given recipe.",
198198
Description: `Generates a deployment bundle from a given recipe.
199199
Use --deployer argocd to generate ArgoCD Applications.
200200

pkg/cli/bundle_verify.go

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -30,9 +30,9 @@ import (
3030

3131
func bundleVerifyCmd() *cli.Command {
3232
return &cli.Command{
33-
Name: "verify",
34-
Category: functionalCategoryName,
35-
Usage: "Verify bundle integrity and attestation chain.",
33+
Name: "verify",
34+
Category: functionalCategoryName,
35+
Usage: "Verify bundle integrity and attestation chain.",
3636
Description: `Verifies a bundle's checksums, attestation signatures, and provenance chain.
3737
3838
Trust levels:

pkg/cli/query.go

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -52,9 +52,9 @@ func queryCmdFlags() []cli.Flag {
5252

5353
func queryCmd() *cli.Command {
5454
return &cli.Command{
55-
Name: "query",
56-
Category: functionalCategoryName,
57-
Usage: "Query a specific value from the hydrated recipe configuration.",
55+
Name: "query",
56+
Category: functionalCategoryName,
57+
Usage: "Query a specific value from the hydrated recipe configuration.",
5858
Description: `Resolve a recipe from criteria and extract a specific configuration value
5959
using a dot-path selector. Returns the fully hydrated value at the given path,
6060
with all base, overlay, and inline overrides merged.

pkg/cli/recipe.go

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -84,9 +84,9 @@ func recipeCmdFlags() []cli.Flag {
8484

8585
func recipeCmd() *cli.Command {
8686
return &cli.Command{
87-
Name: "recipe",
88-
Category: functionalCategoryName,
89-
Usage: "Create optimized recipe for given intent and environment parameters.",
87+
Name: "recipe",
88+
Category: functionalCategoryName,
89+
Usage: "Create optimized recipe for given intent and environment parameters.",
9090
Description: `Generate configuration recipe based on specified environment parameters including:
9191
- Kubernetes service type (e.g. eks, gke, aks, oke, self-managed)
9292
- Accelerator type (e.g. h100, gb200, a100, l40)

pkg/cli/recipe_test.go

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -655,7 +655,6 @@ func TestSnapshotCmd_CommandStructure(t *testing.T) {
655655
}
656656
}
657657

658-
659658
func hasName(flag cli.Flag, name string) bool {
660659
if flag == nil {
661660
return false

pkg/cli/snapshot.go

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -162,9 +162,9 @@ func snapshotCmdFlags() []cli.Flag {
162162

163163
func snapshotCmd() *cli.Command {
164164
return &cli.Command{
165-
Name: "snapshot",
166-
Category: functionalCategoryName,
167-
Usage: "Capture cluster configuration snapshot.",
165+
Name: "snapshot",
166+
Category: functionalCategoryName,
167+
Usage: "Capture cluster configuration snapshot.",
168168
Description: `Generate a comprehensive snapshot of cluster measurements including:
169169
- CPU and GPU settings
170170
- GRUB boot parameters

pkg/cli/trust.go

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -25,9 +25,9 @@ import (
2525

2626
func trustCmd() *cli.Command {
2727
return &cli.Command{
28-
Name: "trust",
29-
Category: functionalCategoryName,
30-
Usage: "Manage Sigstore trusted root for attestation verification.",
28+
Name: "trust",
29+
Category: functionalCategoryName,
30+
Usage: "Manage Sigstore trusted root for attestation verification.",
3131
Commands: []*cli.Command{
3232
trustUpdateCmd(),
3333
},

pkg/cli/validate.go

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -429,9 +429,9 @@ func validateCmdFlags() []cli.Flag {
429429

430430
func validateCmd() *cli.Command {
431431
return &cli.Command{
432-
Name: "validate",
433-
Category: functionalCategoryName,
434-
Usage: "Validate cluster against recipe constraints using containerized validators.",
432+
Name: "validate",
433+
Category: functionalCategoryName,
434+
Usage: "Validate cluster against recipe constraints using containerized validators.",
435435
Description: `Run validation checks against a cluster snapshot using the constraints and
436436
checks defined in a recipe. Each validator runs as an isolated Kubernetes Job.
437437

0 commit comments

Comments
 (0)