shapepipe.pipeline.args
shapepipe.pipeline.args¶
ARGUMENT HANDLING.
This module defines methods for handling the pipeline arguments.
- Author
Samuel Farrens <samuel.farrens@cea.fr>
- class cutomFormatter(prog, indent_increment=2, max_help_position=24, width=None)[source]¶
Bases:
argparse.ArgumentDefaultsHelpFormatter
,argparse.RawDescriptionHelpFormatter
Custom Formatter.
This class combines the argparse
ArgumentDefaultsHelpFormatter
andRawDescriptionHelpFormatter
formatters.
- print_message(message)[source]¶
Print Message.
This method returns a custom argparse action for printing a message.
- Parameters
message (str) – Message to be displayed
- Returns
Custom action class object
- Return type
customAction
- module_str()[source]¶
Format Module String.
Format the list of modules as a single string.
- Returns
Formatted string of module names
- Return type