Update copyright and license plus gofmt
This commit is contained in:
parent
e53c091e3f
commit
80d7bccbdd
1 changed files with 5 additions and 7 deletions
12
cmd/root.go
12
cmd/root.go
|
|
@ -1,13 +1,13 @@
|
||||||
/*
|
/*
|
||||||
Copyright © 2026 NAME HERE <EMAIL ADDRESS>
|
Copyright © 2026 Martyn Ranyard <m@rtyn.berlin>
|
||||||
|
GPLv3 licensed
|
||||||
*/
|
*/
|
||||||
package cmd
|
package cmd
|
||||||
|
|
||||||
import (
|
import (
|
||||||
"os"
|
|
||||||
"fmt"
|
|
||||||
"errors"
|
"errors"
|
||||||
|
"fmt"
|
||||||
|
"os"
|
||||||
|
|
||||||
"github.com/spf13/cobra"
|
"github.com/spf13/cobra"
|
||||||
"github.com/spf13/viper"
|
"github.com/spf13/viper"
|
||||||
|
|
@ -16,7 +16,7 @@ import (
|
||||||
var (
|
var (
|
||||||
cfgFile string
|
cfgFile string
|
||||||
|
|
||||||
// rootCmd represents the base command when called without any subcommands
|
// rootCmd represents the base command when called without any subcommands
|
||||||
rootCmd = &cobra.Command{
|
rootCmd = &cobra.Command{
|
||||||
Use: "helmfile2argo",
|
Use: "helmfile2argo",
|
||||||
Short: "Convert a helmfile to a set of argocd applications",
|
Short: "Convert a helmfile to a set of argocd applications",
|
||||||
|
|
@ -68,5 +68,3 @@ func init() {
|
||||||
rootCmd.PersistentFlags().StringVar(&cfgFile, "config", "", "config file (default is $HOME/.helmfile2argo/config)")
|
rootCmd.PersistentFlags().StringVar(&cfgFile, "config", "", "config file (default is $HOME/.helmfile2argo/config)")
|
||||||
initializeConfig(rootCmd)
|
initializeConfig(rootCmd)
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
||||||
|
|
|
||||||
Loading…
Add table
Reference in a new issue