2022-05-10 01:25:00 +00:00
|
|
|
package cmd
|
|
|
|
|
|
|
|
const (
|
|
|
|
scriptExt = "sh"
|
|
|
|
scriptHeader = "#!/bin/sh\n"
|
|
|
|
clientCommandDescriptionSuffix = `The default config file for all client commands is /etc/ntfy/client.yml (if root user),
|
2022-05-11 02:10:38 +00:00
|
|
|
or "~/Library/Application Support/ntfy/client.yml" for all other users.`
|
2022-05-10 01:25:00 +00:00
|
|
|
)
|
|
|
|
|
|
|
|
var (
|
|
|
|
scriptLauncher = []string{"sh", "-c"}
|
|
|
|
)
|
|
|
|
|
|
|
|
func defaultConfigFile() string {
|
|
|
|
return defaultConfigFileUnix()
|
|
|
|
}
|