Version: 3.x

rasa.cli.scaffold

add_subparser

add_subparser(subparsers: SubParsersAction, parents: List[argparse.ArgumentParser]) -> None

Add all init parsers.

Arguments:

  • subparsers - subparser we are going to attach to
  • parents - Parent parsers, needed to ensure tree structure in argparse

print_train_or_instructions

print_train_or_instructions(args: argparse.Namespace) -> None

Train a model if the user wants to.

init_project

init_project(args: argparse.Namespace, path: Text) -> None

Inits project.

create_initial_project

create_initial_project(path: Text) -> None

Creates directory structure and templates for initial project.