rasa/cli/utils.py
def cancel_cause_not_found(current: Optional[Text], parameter: Text,
                           default: Optional[Text]) -> None:
    """Exits with an error because the given path was not valid.

    Args:
        current: The path given by the user.
        parameter: The name of the parameter.
        default: The default value of the parameter.

    """

    default_clause = ""
    if default:
        default_clause = ("use the default location ('{}') or "
                          "".format(default))
    print_error("The path '{}' does not exist. Please make sure to {}specify it"
                " with '--{}'.".format(current, default_clause, parameter))
    exit(1)
Exits with an error because the given path was not valid.

    Args:
        current: The path given by the user.
        parameter: The name of the parameter.
        default: The default value of the parameter.

    
Exits with an error because the given path was not valid.
Exits with an error because the given path was not valid .
def cancel_cause_not_found(current: Optional[Text], parameter: Text,
                           default: Optional[Text]) -> None:
    default_clause = ""
    if default:
        default_clause = ("use the default location ('{}') or "
                          "".format(default))
    print_error("The path '{}' does not exist. Please make sure to {}specify it"
                " with '--{}'.".format(current, default_clause, parameter))
    exit(1)
def cancel_cause_not_found ( current : Optional [ Text ] , parameter : Text , default : Optional [ Text ] ) -> None : default_clause = "" if default : default_clause = ( "use the default location ('{}') or " "" . format ( default ) ) print_error ( "The path '{}' does not exist. Please make sure to {}specify it" " with '--{}'." . format ( current , default_clause , parameter ) ) exit ( 1 )
Exits with an error because the given path was not valid.
Exits with an error because the given path was not valid .
"""Exits with an error because the given path was not valid.

    Args:
        current: The path given by the user.
        parameter: The name of the parameter.
        default: The default value of the parameter.

    """
current
Optional[Text]
The path given by the user.
The path given by the user .
parameter
Text
The name of the parameter.
The name of the parameter .
default
Optional[Text]
The default value of the parameter.
The default value of the parameter .