notice

This is documentation for Rasa Open Source Documentation v2.7.x, which is no longer actively maintained.
For up-to-date documentation, see the latest version (2.8.x).

Version: 2.7.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, path: Text) -> None

Train a model if the user wants to.