summaryrefslogtreecommitdiffstats
path: root/packaging/win/cli-entry.py
diff options
context:
space:
mode:
Diffstat (limited to 'packaging/win/cli-entry.py')
-rw-r--r--packaging/win/cli-entry.py14
1 files changed, 14 insertions, 0 deletions
diff --git a/packaging/win/cli-entry.py b/packaging/win/cli-entry.py
new file mode 100644
index 0000000..908d4c7
--- /dev/null
+++ b/packaging/win/cli-entry.py
@@ -0,0 +1,14 @@
+"""PyInstaller entry point for the command-line client, `meshbay-cli.exe`.
+
+`meshbay_cli.__main__:main` is a module function; PyInstaller freezes a script.
+Built beside meshbay-node.exe in the same runtime directory (meshbay-node.spec),
+which the Full installer puts on the per-user PATH and the Store package names
+in an execution alias.
+"""
+
+import sys
+
+from meshbay_cli.__main__ import main
+
+if __name__ == "__main__":
+ sys.exit(main())