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

How do I know where the config file is present, without looking into the code #13

Open
viveksinghggits opened this issue Mar 18, 2022 · 1 comment

Comments

@viveksinghggits
Copy link
Owner

To maintain some state, akcess manages a config file that gets created either in $HOME/.akcess/config or /tmp/.akcess/config based on wheter $HOME is set of not.
We should have a way to tell users where the file was created. Some of the things that should be considered while implementing are

  • There are chances that initially the $HOME env var was not set, but has been set now
  • If the config file is present at both location, what should be done
@viveksinghggits
Copy link
Owner Author

I think we should output where the config file is present as output of version command.

akcess version
0.0.4

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

No branches or pull requests

1 participant