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
Uh oh!
There was an error while loading. Please reload this page.
Uh oh!
There was an error while loading. Please reload this page.
-
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
anonfileto remember these settings. Hence, this feature only affects the CLI. For reasons of simplicity, use the built-inConfigParsermodule to create a INI configuration file.Requirements
get_config_dirfunction--configparamater that ought to be attached to theparserobjectNotes
DownloadDirectoryshouldn't be initialized, this needs to be set by the end userLogLevelvalues use the same values as here: https://docs.python.org/3/library/logging.html#logging-levelsLogLevelshould keep the current default value (which currently corresponds to20):anonfile-api/src/anonfile/anonfile.py
Line 83 in 82412d5
EnableLoggingshould be initialized with a value offalseTokennorProxyshould be initialized by the default config file and need to be set manuallyREADME.mdfilePlanning Status
Scheduled for milestone
1.1.0.Beta Was this translation helpful? Give feedback.
All reactions