Code cleaning
Using gofumpt. Add documentation. Some fixes on type checking and const icon type declaration.
This commit is contained in:
@@ -2,11 +2,12 @@ package main
|
||||
|
||||
import (
|
||||
"fmt"
|
||||
"katenary/generator"
|
||||
"katenary/utils"
|
||||
"os"
|
||||
"strings"
|
||||
|
||||
"katenary/generator"
|
||||
"katenary/utils"
|
||||
|
||||
"github.com/compose-spec/compose-go/cli"
|
||||
"github.com/spf13/cobra"
|
||||
)
|
||||
@@ -151,7 +152,6 @@ func generateConvertCommand() *cobra.Command {
|
||||
convertCmd.Flags().StringVarP(&givenAppVersion, "app-version", "a", "", "Specify the app version (in Chart.yaml)")
|
||||
convertCmd.Flags().StringVarP(&chartVersion, "chart-version", "v", chartVersion, "Specify the chart version (in Chart.yaml)")
|
||||
return convertCmd
|
||||
|
||||
}
|
||||
|
||||
func generateVersionCommand() *cobra.Command {
|
||||
@@ -165,7 +165,6 @@ func generateVersionCommand() *cobra.Command {
|
||||
}
|
||||
|
||||
func generateLabelHelpCommand() *cobra.Command {
|
||||
|
||||
markdown := false
|
||||
all := false
|
||||
cmd := &cobra.Command{
|
||||
|
Reference in New Issue
Block a user