New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
develop branch: integrate subcommands options #242
Comments
The |
We need to adapt the new verbosity approach for printing the following:
|
integrated the new verbosity approach. Options: --overwrite Overwrites the output file if it exists --verbosity INTEGER Print more or fewer verbose messages while processing ABOUT files (Default: 30) 50 - CRITICAL 40 - ERROR 30 - WARNING 20 - INFO 10 - DEBUG --help Show this message and exit.
All the option for |
Do we really need action 2 and 3? @DennisClark I would like to have your input. |
@chinyeungli: I think you can simplify a lot. IMHO we should not EVEN have these actions options at all. |
@chinyeungli After a bit of thought, I am inclined to agree with @pombredanne that we should "always regen things as new correct data" and that the options are not necessary. |
okay, thanks for the input. |
* Integrate the mapping option "partially" as it's able to process the user define keys. * Previous genabout behavior is not to convert input column keys/names to lower case. However, to be as consistence as the --mapping (which convert the mapping key to lower case), I've changed the behavior to convert input column keys to lower case. * Updated some test code Left ToDo: * Keys in the input but not in the MAPPING.CONFIG are also put in the generated ABOUT files which is incorrect. We should only put keys that are defined as the supported keys and keys that user define in the MAPPING.CONFIG as valid. Others should not be included. * It currently ONLY look for MAPPING.CONFIG. In another word, user are not able to provide path to another MAPPING file yet. * Need to write some test files
Implemented the `--mapping` option. The fields that are included in the MAPPING.CONFIG will be captured. Other custom fields that do not exist in the MAPPING.CONFIG will be ignored. Note that the feature to point to another mapping file still hasn't been implemented yet. In addition, test code need to be updated too.
I think I've integrated all the |
All the subcommands options such as
--overwrite
,--mapping
,--extract_license
etc. have not been integrated yet.The text was updated successfully, but these errors were encountered: