Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Use the user directory as default config file location #23

Open
eternal-flame-AD opened this issue Apr 26, 2019 · 0 comments
Open

Use the user directory as default config file location #23

eternal-flame-AD opened this issue Apr 26, 2019 · 0 comments

Comments

@eternal-flame-AD
Copy link
Member

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.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Development

No branches or pull requests

1 participant