cli icon indicating copy to clipboard operation
cli copied to clipboard

Use the user directory as default config file location

Open eternal-flame-AD opened this issue 6 years ago • 0 comments

The current default(first) location for configuration storage is ./cli.json, which is not so useful in most cases since the user would need to:

  • Call gotify-cli in this specific directory for every invocation
  • Create a cli.json in a random directory, which is not a clearly explanatory file name.

So I think in most cases, the user would use user directory as their config storage, so we should put that in front of ./cli.json by default during initialization.

eternal-flame-AD avatar Apr 26 '19 12:04 eternal-flame-AD