launch.substitutions.text_substitution module

Module for the TextSubstitution substitution.

class launch.substitutions.text_substitution.TextSubstitution[source]

Bases: Substitution

Substitution that wraps a single string text.

__init__(*, text: str) None[source]

Create a TextSubstitution.

describe() str[source]

Return a description of this substitution as a string.

perform(context: LaunchContext) str[source]

Perform the substitution by returning the string itself.

property text: str

Getter for text.