Configuration File #91
Closed
StefanGreve
started this conversation in
Feature Requests
Replies: 1 comment
-
It might be possible to test this feature with |
Beta Was this translation helpful? Give feedback.
0 replies
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
-
Preamble
Currently, the CLI supports many different flags that in specific use-cases can be tedious to type all out. They also create a lot of noise in scripts where this application is used more than a couple of times. A configuration file would help
anonfile
to remember these settings. Hence, this feature only affects the CLI. For reasons of simplicity, use the built-inConfigParser
module to create a INI configuration file.Requirements
get_config_dir
function--config
paramater that ought to be attached to theparser
objectNotes
DownloadDirectory
shouldn't be initialized, this needs to be set by the end userLogLevel
values use the same values as here: https://docs.python.org/3/library/logging.html#logging-levelsLogLevel
should keep the current default value (which currently corresponds to20
):anonfile-api/src/anonfile/anonfile.py
Line 83 in 82412d5
EnableLogging
should be initialized with a value offalse
Token
norProxy
should be initialized by the default config file and need to be set manuallyREADME.md
filePlanning Status
Scheduled for milestone
1.1.0
.Beta Was this translation helpful? Give feedback.
All reactions