carapace-bin/completers/git_completer/cmd/credential_cache_generated.go
2023-04-12 09:09:14 +02:00

21 lines
596 B
Go

package cmd
import (
"github.com/rsteube/carapace"
"github.com/spf13/cobra"
)
var credential_cacheCmd = &cobra.Command{
Use: "credential-cache",
Short: "Helper to temporarily store passwords in memory",
Run: func(cmd *cobra.Command, args []string) {},
GroupID: groups[group_low_level_helper].ID,
}
func init() {
carapace.Gen(credential_cacheCmd).Standalone()
credential_cacheCmd.Flags().String("socket", "", "path of cache-daemon socket")
credential_cacheCmd.Flags().String("timeout", "", "number of seconds to cache credentials")
rootCmd.AddCommand(credential_cacheCmd)
}