mirror of
https://github.com/rangermix/TwitchDropsMiner.git
synced 2026-05-26 07:08:04 +00:00
Add a way for the application to dump inventory data into a file
This commit is contained in:
3
main.py
3
main.py
@@ -53,7 +53,7 @@ if __name__ == "__main__":
|
||||
_debug_gql: bool
|
||||
log: bool
|
||||
tray: bool
|
||||
no_run_check: bool
|
||||
dump: bool
|
||||
|
||||
# TODO: replace int with union of literal values once typeshed updates
|
||||
@property
|
||||
@@ -103,6 +103,7 @@ if __name__ == "__main__":
|
||||
parser.add_argument("-v", dest="_verbose", action="count", default=0)
|
||||
parser.add_argument("--tray", action="store_true")
|
||||
parser.add_argument("--log", action="store_true")
|
||||
parser.add_argument("--dump", action="store_true")
|
||||
# undocumented debug args
|
||||
parser.add_argument(
|
||||
"--debug-ws", dest="_debug_ws", action="store_true", help=argparse.SUPPRESS
|
||||
|
||||
Reference in New Issue
Block a user