Skip to content

Commit e4a164f

Browse files
committed
Try recording when a command execution finishes
1 parent cbfc7a0 commit e4a164f

1 file changed

Lines changed: 2 additions & 0 deletions

File tree

app/vendors/__init__.py

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -14,6 +14,7 @@
1414
import os
1515

1616
import click
17+
from app.analytics import analyze
1718
from app.utils import strtobool
1819

1920

@@ -50,6 +51,7 @@ def __enter__(self):
5051
self.create_reaction(self.reactions["begin"])
5152
return self
5253

54+
@analyze("goodbye")
5355
def __exit__(self, exc_type, exc_value, tb):
5456
"""
5557
Executed when processing of a command ends

0 commit comments

Comments
 (0)