Configuration Feature #2
Closed
StefanGreve
started this conversation in
Feature Requests
Replies: 2 comments
-
|
See also #13 |
Beta Was this translation helpful? Give feedback.
0 replies
-
|
Closed by #48 |
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 theparserobjectRemarks
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-levelsEnableLoggingshould be initialized with a value offalseTokennorProxyshould be initialized by the default config file and need to be set manuallyhttp://10.10.1.10:3128/orhttp://10.10.1.10:3128/ https://10.10.1.10:1080/. Proxies may also contain login credentials, e.g.https://username:password@us.paidproxy.comREADME.mdfilePlanning Status
Scheduled for milestone
1.0.0.Beta Was this translation helpful? Give feedback.
All reactions