cmd

package
v0.0.0-...-301dc46 Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Dec 7, 2023 License: MIT Imports: 10 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

View Source
var RootCmd = &cobra.Command{
	Use:   "gotls",
	Short: "gotls is a TLS certificate issuance and management tool",
	Long: `gotls can generate keys, CSRs, and obtain a certificate
from an Active Directory Certificate Services endpoint.`,
}

RootCmd represents the base command when called without any subcommands

Functions

func Execute

func Execute()

Execute adds all child commands to the root command and sets flags appropriately.

func GenerateRevalidateViperKeyFn

func GenerateRevalidateViperKeyFn() func()

GenerateRevalidateViperKeyFn is used to read flags into nested config structure (workaround spf13/viper issue #368) from https://github.com/spf13/viper/pull/487#issuecomment-685422963

Types

type CsrConfig

type CsrConfig struct {
	// contains filtered or unexported fields
}

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL