You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
fetchStoreTypesCmd.Flags().StringVarP(&gitRef, FlagGitRef, "b", "main", "The git branch or tag to reference when pulling store-types from the internet.")
513
+
fetchStoreTypesCmd.Flags().StringVarP(
514
+
&gitRef,
515
+
FlagGitRef,
516
+
"b",
517
+
"main",
518
+
"The git branch or tag to reference when pulling store-types from the internet.",
519
+
)
493
520
494
521
// LIST command
495
522
storeTypesCmd.AddCommand(storesTypesListCmd)
@@ -504,10 +531,28 @@ func init() {
504
531
varstoreTypeNamestring
505
532
varstoreTypeIDint
506
533
storeTypesCmd.AddCommand(storesTypeCreateCmd)
507
-
storesTypeCreateCmd.Flags().StringVarP(&storeTypeName, "name", "n", "", "Short name of the certificate store type to get. Valid choices are: "+validTypesString)
534
+
storesTypeCreateCmd.Flags().StringVarP(
535
+
&storeTypeName,
536
+
"name",
537
+
"n",
538
+
"",
539
+
"Short name of the certificate store type to get. Valid choices are: "+validTypesString,
540
+
)
508
541
storesTypeCreateCmd.Flags().BoolVarP(&listValidStoreTypes, "list", "l", false, "List valid store types.")
509
-
storesTypeCreateCmd.Flags().StringVarP(&filePath, "from-file", "f", "", "Path to a JSON file containing certificate store type data for a single store.")
510
-
storesTypeCreateCmd.Flags().StringVarP(&gitRef, FlagGitRef, "b", "main", "The git branch or tag to reference when pulling store-types from the internet.")
542
+
storesTypeCreateCmd.Flags().StringVarP(
543
+
&filePath,
544
+
"from-file",
545
+
"f",
546
+
"",
547
+
"Path to a JSON file containing certificate store type data for a single store.",
548
+
)
549
+
storesTypeCreateCmd.Flags().StringVarP(
550
+
&gitRef,
551
+
FlagGitRef,
552
+
"b",
553
+
"main",
554
+
"The git branch or tag to reference when pulling store-types from the internet.",
555
+
)
511
556
storesTypeCreateCmd.Flags().BoolVarP(&createAll, "all", "a", false, "Create all store types.")
512
557
513
558
// UPDATE command
@@ -519,7 +564,13 @@ func init() {
519
564
vardryRunbool
520
565
storeTypesCmd.AddCommand(storesTypeDeleteCmd)
521
566
storesTypeDeleteCmd.Flags().IntVarP(&storeTypeID, "id", "i", -1, "ID of the certificate store type to delete.")
522
-
storesTypeDeleteCmd.Flags().StringVarP(&storeTypeName, "name", "n", "", "Name of the certificate store type to delete.")
567
+
storesTypeDeleteCmd.Flags().StringVarP(
568
+
&storeTypeName,
569
+
"name",
570
+
"n",
571
+
"",
572
+
"Name of the certificate store type to delete.",
573
+
)
523
574
storesTypeDeleteCmd.Flags().BoolVarP(&dryRun, "dry-run", "t", false, "Specifies whether to perform a dry run.")
0 commit comments