FazBrowse GitHub Viewer
|
Trending
|
URL:
|
Home
Tools:
[Download Repo ZIP]
[View Raw Code]
[Original HTTPS Page]
cmd2/cmd2/plugin.py at main · python-cmd2/cmd2 · GitHub
Uh oh!
There was an error while loading.
Please reload this page
.
python-cmd2
/
cmd2
Public
Notifications
You must be signed in to change notification settings
Fork
132
Star
686
Code
Issues
1
Pull requests
2
Discussions
Actions
Projects
Security and quality
0
Insights
Additional navigation options
Code
Issues
Pull requests
Discussions
Actions
Projects
Security and quality
Insights
Expand file tree
Breadcrumbs
cmd2
/
cmd2
/
plugin.py
Copy path
More file actions
More file actions
Latest commit
History
History
History
36 lines (22 loc) · 809 Bytes
Breadcrumbs
cmd2
/
cmd2
/
plugin.py
Copy path
File metadata and controls
36 lines (22 loc) · 809 Bytes
Raw
Copy raw file
Download raw file
Open symbols panel
Edit and raw actions
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
"""Classes for the cmd2 lifecycle hooks that you can register multiple callback functions/methods with."""
from
dataclasses
import
dataclass
from
.
parsing
import
Statement
@
dataclass
class
PostparsingData
:
"""Data class containing information passed to postparsing hook methods."""
stop
:
bool
statement
:
Statement
@
dataclass
class
PrecommandData
:
"""Data class containing information passed to precommand hook methods."""
statement
:
Statement
@
dataclass
class
PostcommandData
:
"""Data class containing information passed to postcommand hook methods."""
stop
:
bool
statement
:
Statement
@
dataclass
class
CommandFinalizationData
:
"""Data class containing information passed to command finalization hook methods."""
stop
:
bool
statement
:
Statement
|
None
Back
|
FazBrowse Home
|
New Git URL