facile_rs.utils.cli¶
Module Contents¶
Functions¶
Create parsers for the facile-rs command line interface. The main parser has one subparser per platform (Zenodo, RADAR, …) or metadata type (CFF, DataCite,…). Each of this subparser has a subparser per FACILE-RS script. |
|
Display a deprecation warning when a script is called from the command line directly, without using the ‘facile-rs’ entry point. |
API¶
- create_parser()¶
Create parsers for the facile-rs command line interface. The main parser has one subparser per platform (Zenodo, RADAR, …) or metadata type (CFF, DataCite,…). Each of this subparser has a subparser per FACILE-RS script.
- Returns:
The parser object.
- cli_call_deprecated(func)¶
Display a deprecation warning when a script is called from the command line directly, without using the ‘facile-rs’ entry point.
- Parameters:
func – The main function to call in the script.