notice

This is unreleased documentation for Rasa Documentation Main/Unreleased version.
For the latest released documentation, see the latest version (3.x).

Version: Main/Unreleased

rasa.cli.scaffold

add_subparser

def 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

def print_train_or_instructions(args: argparse.Namespace) -> None

Train a model if the user wants to.

init_project

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

Inits project.

create_initial_project

def create_initial_project(path: Text) -> None

Creates directory structure and templates for initial project.