summaryrefslogtreecommitdiff
path: root/cmd2/plugin.py
diff options
context:
space:
mode:
authorTodd Leonhardt <todd.leonhardt@gmail.com>2020-02-24 17:36:08 -0500
committerGitHub <noreply@github.com>2020-02-24 17:36:08 -0500
commit5f5c48d51927c27d107b5e9540f5ef867b180145 (patch)
tree2c3e396b1b022ad6f24ea22773bd03f36cf7ee8e /cmd2/plugin.py
parentec7b442eff9f6488509d43b6ae2e902fcdb79ddf (diff)
parentd25fd7146131688e934290a3c5bf0407e904dbb2 (diff)
downloadcmd2-git-5f5c48d51927c27d107b5e9540f5ef867b180145.tar.gz
Merge branch 'master' into bug-898
Diffstat (limited to 'cmd2/plugin.py')
-rw-r--r--cmd2/plugin.py4
1 files changed, 4 insertions, 0 deletions
diff --git a/cmd2/plugin.py b/cmd2/plugin.py
index dc9ec297..83093ee1 100644
--- a/cmd2/plugin.py
+++ b/cmd2/plugin.py
@@ -6,22 +6,26 @@ import attr
@attr.s
class PostparsingData:
+ """Data class containing information passed to postparsing hook methods"""
stop = attr.ib()
statement = attr.ib()
@attr.s
class PrecommandData:
+ """Data class containing information passed to precommand hook methods"""
statement = attr.ib()
@attr.s
class PostcommandData:
+ """Data class containing information passed to postcommand hook methods"""
stop = attr.ib()
statement = attr.ib()
@attr.s
class CommandFinalizationData:
+ """Data class containing information passed to command finalization hook methods"""
stop = attr.ib()
statement = attr.ib()