build: scaffold Windows application
This commit is contained in:
1 parent
341302f194
commit
e0a7e35674
9 files changed
+205
-5
No files matched your search
@@ -0,0 +1 @@
|
||||
"""LabStand Windows IDS client."""
|
||||
@@ -0,0 +1,5 @@
|
||||
from office_ids.cli import main
|
||||
|
||||
|
||||
if __name__ == "__main__":
|
||||
raise SystemExit(main())
|
||||
@@ -0,0 +1,19 @@
|
||||
import argparse
|
||||
from importlib.metadata import version
|
||||
from typing import Sequence
|
||||
|
||||
|
||||
def main(argv: Sequence[str] | None = None) -> int:
|
||||
parser = argparse.ArgumentParser(
|
||||
prog="office-ids",
|
||||
description="LabStand Office IDS: Windows client scaffold.",
|
||||
)
|
||||
parser.add_argument(
|
||||
"--version",
|
||||
action="version",
|
||||
version=f"%(prog)s {version('office-ids-windows')}",
|
||||
)
|
||||
parser.parse_args(argv)
|
||||
print("Office IDS: stage 1 scaffold is installed.")
|
||||
print("Monitoring, detection and the desktop interface are not implemented yet.")
|
||||
return 0
|
||||
Reference in new issue
Block a user