github.com/pojntfx/hydrapp/hydrapp@v0.0.0-20240516002902-d08759d6ca9f/cmd/secrets.go (about)

     1  package cmd
     2  
     3  import (
     4  	"github.com/spf13/cobra"
     5  	"github.com/spf13/viper"
     6  )
     7  
     8  var secretsCmd = &cobra.Command{
     9  	Use:     "secrets",
    10  	Aliases: []string{"s"},
    11  	Short:   "Manage secrets",
    12  }
    13  
    14  func init() {
    15  	viper.AutomaticEnv()
    16  
    17  	rootCmd.AddCommand(secretsCmd)
    18  }