rasa/core/restore.py
def create_argument_parser():
    """Parse all the command line arguments for the restore script."""

    parser = argparse.ArgumentParser(
        description='starts the bot')
    parser.add_argument(
        '-d', '--core',
        required=True,
        type=str,
        help="core model to run")
    parser.add_argument(
        '-u', '--nlu',
        type=str,
        help="nlu model to run")
    parser.add_argument(
        'tracker_dump',
        type=str,
        help="file that contains a dumped tracker state in json format")
    parser.add_argument(
        '--enable_api',
        action="store_true",
        help="Start the web server api in addition to the input channel")

    rasa.core.cli.arguments.add_logging_option_arguments(parser)

    return parser
Parse all the command line arguments for the restore script.
Parse all the command line arguments for the restore script.
Parse all the command line arguments for the restore script .
def create_argument_parser():
    parser = argparse.ArgumentParser(
        description='starts the bot')
    parser.add_argument(
        '-d', '--core',
        required=True,
        type=str,
        help="core model to run")
    parser.add_argument(
        '-u', '--nlu',
        type=str,
        help="nlu model to run")
    parser.add_argument(
        'tracker_dump',
        type=str,
        help="file that contains a dumped tracker state in json format")
    parser.add_argument(
        '--enable_api',
        action="store_true",
        help="Start the web server api in addition to the input channel")
    rasa.core.cli.arguments.add_logging_option_arguments(parser)
    return parser
def create_argument_parser ( ) : parser = argparse . ArgumentParser ( description = 'starts the bot' ) parser . add_argument ( '-d' , '--core' , required = True , type = str , help = "core model to run" ) parser . add_argument ( '-u' , '--nlu' , type = str , help = "nlu model to run" ) parser . add_argument ( 'tracker_dump' , type = str , help = "file that contains a dumped tracker state in json format" ) parser . add_argument ( '--enable_api' , action = "store_true" , help = "Start the web server api in addition to the input channel" ) rasa . core . cli . arguments . add_logging_option_arguments ( parser ) return parser
Parse all the command line arguments for the restore script.
Parse all the command line arguments for the restore script .
"""Parse all the command line arguments for the restore script."""