Add command-line switches to point to config file #80
Labels
No Label
bug
compatibility
documentation
duplicate
enhancement
future release
help wanted
invalid
non-code
question
refactor
testing
this release
wontfix
No Milestone
No Assignees
2 Participants
Notifications
Due Date
No due date set.
Dependencies
No dependencies set.
Reference: cmccabe/linkulator2#80
Loading…
Reference in New Issue
No description provided.
Delete Branch "%!s(<nil>)"
Deleting a branch is permanent. Although the deleted branch may continue to exist for a short time before it actually gets removed, it CANNOT be undone in most cases. Continue?
If you want to use a different config file location there is no mechanism to do this on a per-user basis. At a system level it would require changing code directly in the python script as well. Adding support for a command line parameter to point to the config file should fix this.
Hey @tomasino, thanks for the suggestions and feedback! Very cool.
To me, this ties in to your other suggestion in #81, as following the XDG base directory standard for configuration files would allow any person using linkulator to choose their own config location.
The difference with your suggestion here is that a person would choose it when running the application. What are your thoughts about why and when this might be used?
If linkulator followed the XDG base directory standards, you could also do this in the following way:
Would this approach also achieve the same goals?
Thanks again! I hope you're having a great day today.