feat: add support for dns-01 challenge mode when using traefik
Closes #6423
This commit is contained in:
@@ -78,6 +78,19 @@ func main() {
|
||||
os.Exit(1)
|
||||
}
|
||||
|
||||
for key, value := range values {
|
||||
fmt.Println(fmt.Sprintf("%s %s", key, strings.TrimSuffix(value, "\n")))
|
||||
}
|
||||
|
||||
case "get-all-by-prefix":
|
||||
appName := flag.Arg(2)
|
||||
prefix := flag.Arg(3)
|
||||
values, err := common.PropertyGetAllByPrefix(pluginName, appName, prefix)
|
||||
if err != nil {
|
||||
fmt.Fprintln(os.Stderr, err.Error())
|
||||
os.Exit(1)
|
||||
}
|
||||
|
||||
for key, value := range values {
|
||||
fmt.Println(fmt.Sprintf("%s %s", key, strings.TrimSuffix(value, "\n")))
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user