Add subcommand for displaying the transaction log

This commit is contained in:
2025-12-10 16:02:36 +09:00
parent cad356807c
commit 0f7fc8f706
4 changed files with 252 additions and 0 deletions

View File

@@ -23,6 +23,7 @@ subparsers.add_parser("loop", help="Run the dibbler loop")
subparsers.add_parser("create-db", help="Create the database")
subparsers.add_parser("slabbedasker", help="Find out who is slabbedasker")
subparsers.add_parser("seed-data", help="Fill with mock data")
subparsers.add_parser("transaction-log", help="Print transaction log")
def main():
@@ -49,6 +50,11 @@ def main():
seed_test_data.main()
elif args.subcommand == "transaction-log":
import dibbler.subcommands.transaction_log as transaction_log
transaction_log.main()
if __name__ == "__main__":
main()