cmd2.plugin

class cmd2.plugin.PostparsingData(stop, statement)

Data class containing information passed to postparsing hook methods

stop

Request the command loop terminate by setting True

statement

The Statement object parsed from user input

class cmd2.plugin.PrecommandData(statement)

Data class containing information passed to precommand hook methods

statement

The Statement object parsed from user input

class cmd2.plugin.PostcommandData(stop, statement)

Data class containing information passed to postcommand hook methods

stop

Request the command loop terminate by setting True

statement

The Statement object parsed from user input

class cmd2.plugin.CommandFinalizationData(stop, statement)

Data class containing information passed to command finalization hook methods

stop

Request the command loop terminate by setting True

statement

The Statement object parsed from user input