We currently save the token file outside the standard application directories:
|
tokens_path: ClassVar[str] = os.path.join(os.getenv("HOME", ""), ".mreg-cli_auth_token.json") |
It would be ideal to use a platformdirs directory for this. Defining mreg_cli.dirs.DATA_DIR seems appropriate for this purpose.
We currently save the token file outside the standard application directories:
mreg-cli/mreg_cli/tokenfile.py
Line 39 in 0bceea7
It would be ideal to use a platformdirs directory for this. Defining
mreg_cli.dirs.DATA_DIRseems appropriate for this purpose.