package internal import ( "github.com/urfave/cli/v2" ) // Secrets stores the variable from SecretsFlag var Secrets bool // SecretsFlag turns on/off automatically generating secrets var SecretsFlag = &cli.BoolFlag{ Name: "secrets", Aliases: []string{"S"}, Value: false, Usage: "Automatically generate secrets", Destination: &Secrets, } // Pass stores the variable from PassFlag var Pass bool // PassFlag turns on/off storing generated secrets in pass var PassFlag = &cli.BoolFlag{ Name: "pass", Aliases: []string{"P"}, Value: false, Usage: "Store the generated secrets in a local pass store", Destination: &Pass, } // Context is temp var Context string // ContextFlag is temp var ContextFlag = &cli.StringFlag{ Name: "context", Value: "", Aliases: []string{"c"}, Destination: &Context, } // Force force functionality without asking. var Force bool // ForceFlag turns on/off force functionality. var ForceFlag = &cli.BoolFlag{ Name: "force", Value: false, Aliases: []string{"f"}, Destination: &Force, } // Chaos engages chaos mode. var Chaos bool // ChaosFlag turns on/off chaos functionality. var ChaosFlag = &cli.BoolFlag{ Name: "chaos", Value: false, Aliases: []string{"ch"}, Usage: "Deploy uncommitted recipes changes. Use with care!", Destination: &Chaos, } // DNSProvider specifies a DNS provider. var DNSProvider string // DNSProviderFlag selects a DNS provider. var DNSProviderFlag = &cli.StringFlag{ Name: "provider", Value: "", Aliases: []string{"p"}, Usage: "DNS provider", Destination: &DNSProvider, Required: true, }