gitnc 0.1.2__py3-none-any.whl

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
gitnc/__init__.py ADDED
@@ -0,0 +1,3 @@
1
+ """GitNightCommander — a TUI git log browser."""
2
+
3
+ __version__ = "0.1.1"
gitnc/__main__.py ADDED
@@ -0,0 +1,15 @@
1
+ """Entry point for `python -m gitnc` and the `gitnc` CLI script."""
2
+
3
+ import sys
4
+
5
+ from gitnc.app import GitNightCommanderApp
6
+
7
+
8
+ def main() -> None:
9
+ repo_path = sys.argv[1] if len(sys.argv) > 1 else "."
10
+ app = GitNightCommanderApp(repo_path=repo_path)
11
+ app.run()
12
+
13
+
14
+ if __name__ == "__main__":
15
+ main()