Skip to content
Open
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
8 changes: 8 additions & 0 deletions quick_audit.py
Original file line number Diff line number Diff line change
Expand Up @@ -5,8 +5,10 @@
import subprocess
import sys

__version__ = "0.1.0"

def main() -> None:

parser = argparse.ArgumentParser(
description="Quick wrapper around log_audit.py with env-based RPC defaults."
)
Expand Down Expand Up @@ -43,6 +45,12 @@ def main() -> None:
nargs=argparse.REMAINDER,
help="Any extra args to pass through to log_audit.py unchanged.",
)
parser.add_argument(
"--version",
action="version",
version=f"%(prog)s {__version__}",
help="Show program version and exit.",
)

args = parser.parse_args()

Expand Down