notice

This is unreleased documentation for Rasa Open Source Documentation Master/Unreleased version.
For the latest released documentation, see the latest version (2.x).

Version: Master/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, path: Text) -> None

Train a model if the user wants to.