You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Currently, the program does not support using --config/-c option with other options, and uses default setting if other options are not specified in the .json file
Expected Feature
The user should be able to specify other command-line options alongside with --config/-c, if those options are not already specified inside the config JSON file
Example
Given the following config.json file:
{
"output": "/test/"
}
If the user only uses --config/-c, i.e.:
python main.py --config config.json
The program will produce an error since there are no input files/folders.
The user should be able to use other options alongside the --config/-c flag, so that they can specify any options missing from the config JSON file, i.e.:
Problem
Currently, the program does not support using
--config
/-c
option with other options, and uses default setting if other options are not specified in the.json
fileExpected Feature
The user should be able to specify other command-line options alongside with
--config
/-c
, if those options are not already specified inside the config JSON fileExample
Given the following
config.json
file:If the user only uses
--config
/-c
, i.e.:python main.py --config config.json
The program will produce an error since there are no input files/folders.
The user should be able to use other options alongside the
--config
/-c
flag, so that they can specify any options missing from the config JSON file, i.e.:python main.py --config config.json -i test.txt --lang en-UK
If both exists, the configs inside the config JSON file will take precedence over the command-line options
The text was updated successfully, but these errors were encountered: