def _add_cytomine_cli_args(argparse):
        """
        Add cytomine CLI args to the ArgumentParser object: cytomine_host, cytomine_public_key, cytomine_private_key and
        cytomine_verbose.

        Parameters
        ----------
        argparse: ArgumentParser
            The argument parser

        Return
        ------
        argparse: ArgumentParser
            The argument parser (same object as parameter)
        """
        argparse.add_argument(*_cytomine_parameter_name_synonyms("host"),
                              dest="host", help="The Cytomine host (without protocol).", required=True)
        argparse.add_argument(*_cytomine_parameter_name_synonyms("public_key"),
                              dest="public_key", help="The Cytomine public key.", required=True)
        argparse.add_argument(*_cytomine_parameter_name_synonyms("private_key"),
                              dest="private_key", help="The Cytomine private key.", required=True)
        argparse.add_argument("--verbose", "--cytomine_verbose",
                              dest="verbose", type=int, default=logging.INFO,
                              help="The verbosity level of the client (as an integer value).")
        argparse.add_argument("-l", "--log_level", "--cytomine_log_level",
                              dest="log_level", choices=['DEBUG', 'INFO', 'WARNING', 'ERROR', 'CRITICAL'],
                              help="The logging level of the client (as a string value)")
        return argparse
def _add_cytomine_cli_args ( argparse ) : argparse . add_argument ( * _cytomine_parameter_name_synonyms ( "host" ) , dest = "host" , help = "The Cytomine host (without protocol)." , required = True ) argparse . add_argument ( * _cytomine_parameter_name_synonyms ( "public_key" ) , dest = "public_key" , help = "The Cytomine public key." , required = True ) argparse . add_argument ( * _cytomine_parameter_name_synonyms ( "private_key" ) , dest = "private_key" , help = "The Cytomine private key." , required = True ) argparse . add_argument ( "--verbose" , "--cytomine_verbose" , dest = "verbose" , type = int , default = logging . INFO , help = "The verbosity level of the client (as an integer value)." ) argparse . add_argument ( "-l" , "--log_level" , "--cytomine_log_level" , dest = "log_level" , choices = [ 'DEBUG' , 'INFO' , 'WARNING' , 'ERROR' , 'CRITICAL' ] , help = "The logging level of the client (as a string value)" ) return argparse
Add cytomine CLI args to the ArgumentParser object: cytomine_host, cytomine_public_key, cytomine_private_key and
        cytomine_verbose.

        Parameters
        ----------
        argparse: ArgumentParser
            The argument parser

        Return
        ------
        argparse: ArgumentParser
            The argument parser (same object as parameter)