Support for underscores in server.yml config options

This commit is contained in:
Philipp Heckel 2022-05-16 11:32:21 -04:00
parent db613f81cc
commit 91594faf28
9 changed files with 177 additions and 96 deletions

View file

@ -26,7 +26,7 @@ var cmdAccess = &cli.Command{
Usage: "Grant/revoke access to a topic, or show access",
UsageText: "ntfy access [USERNAME [TOPIC [PERMISSION]]]",
Flags: flagsAccess,
Before: initConfigFileInputSource("config", flagsAccess),
Before: initConfigFileInputSourceFunc("config", flagsAccess),
Action: execUserAccess,
Category: categoryServer,
Description: `Manage the access control list for the ntfy server.