2022-05-09 23:22:52 +03:00
|
|
|
package cmd
|
|
|
|
|
|
|
|
const (
|
2022-05-10 04:25:00 +03:00
|
|
|
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-09 23:22:52 +03:00
|
|
|
or ~/.config/ntfy/client.yml for all other users.`
|
|
|
|
)
|
|
|
|
|
2022-05-10 04:25:00 +03:00
|
|
|
var (
|
|
|
|
scriptLauncher = []string{"sh", "-c"}
|
|
|
|
)
|
2022-05-09 23:22:52 +03:00
|
|
|
|
2022-06-01 23:57:35 +03:00
|
|
|
func defaultClientConfigFile() string {
|
|
|
|
return defaultClientConfigFileUnix()
|
2022-05-09 23:22:52 +03:00
|
|
|
}
|