Example #1
0
def create_argument_parser():
    """Parse all the command line arguments for the run script."""

    parser = argparse.ArgumentParser(description='starts the action endpoint')
    add_endpoint_arguments(parser)
    utils.add_logging_option_arguments(parser)
    return parser
Example #2
0
def _adk_sdk_arguments(parser: argparse.ArgumentParser):
    import rasa_core_sdk.cli.arguments as sdk

    sdk.add_endpoint_arguments(parser)
    parser.add_argument('--actions',
                        type=str,
                        default="actions",
                        help="name of action package to be loaded")