forestui 0.9.0__py3-none-any.whl → 0.9.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.
forestui/__init__.py CHANGED
@@ -1,3 +1,9 @@
1
1
  """forestui - A Terminal UI for managing Git worktrees."""
2
2
 
3
- __version__ = "0.9.0"
3
+ from importlib.metadata import PackageNotFoundError, version
4
+
5
+ try:
6
+ __version__ = version("forestui")
7
+ except PackageNotFoundError:
8
+ # Package not installed (running from source without install)
9
+ __version__ = "0.0.0"
forestui/cli.py CHANGED
@@ -147,6 +147,9 @@ def main(
147
147
 
148
148
  FOREST_PATH: Optional path to forest directory (default: ~/forest)
149
149
  """
150
+ # Auto-enable dev mode when running from source (version 0.0.0)
151
+ dev_mode = dev_mode or __version__ == "0.0.0"
152
+
150
153
  ensure_tmux(forest_path, debug_mode, no_self_update, dev_mode)
151
154
 
152
155
  if debug_mode:
@@ -1,6 +1,6 @@
1
1
  Metadata-Version: 2.4
2
2
  Name: forestui
3
- Version: 0.9.0
3
+ Version: 0.9.2
4
4
  Summary: A Terminal UI for managing Git worktrees
5
5
  Author: cadu
6
6
  Keywords: git,terminal,textual,tui,worktree
@@ -41,13 +41,34 @@ forestui brings the power of Git worktree management to the terminal with a beau
41
41
  - Python 3.14+
42
42
  - tmux
43
43
  - uv (for installation)
44
+ - [gh](https://cli.github.com/) (optional, for GitHub integration)
44
45
 
45
46
  ## Installing
46
47
 
48
+ ### Quick Install (recommended)
49
+
50
+ Installs [uv](https://github.com/astral-sh/uv) automatically if not present. No Python installation required.
51
+
47
52
  ```bash
48
53
  curl -fsSL https://raw.githubusercontent.com/flipbit03/forestui/main/install.sh | bash
49
54
  ```
50
55
 
56
+ ### Install via uv
57
+
58
+ If you already have [uv](https://github.com/astral-sh/uv) installed:
59
+
60
+ ```bash
61
+ uv tool install forestui
62
+ ```
63
+
64
+ ### Updating
65
+
66
+ forestui auto-updates on startup. To manually update:
67
+
68
+ ```bash
69
+ uv tool upgrade forestui
70
+ ```
71
+
51
72
  ## Usage
52
73
 
53
74
  ```bash
@@ -57,9 +78,6 @@ forestui
57
78
  # Start with a custom forest directory
58
79
  forestui ~/my-projects
59
80
 
60
- # Update to latest version
61
- forestui --self-update
62
-
63
81
  # Show help
64
82
  forestui --help
65
83
  ```
@@ -1,7 +1,7 @@
1
- forestui/__init__.py,sha256=5XV7YExNshXcR27WcUWlQNu3eBmtNFt_IikkFCwhLb4,82
1
+ forestui/__init__.py,sha256=__8Am4B3qZObWoxSf5xL066vcEvEr5bW-9_2B33v0YI,286
2
2
  forestui/__main__.py,sha256=nDdStXHt-5rnJh-nihdYReIx0MlTOvtNVwu4HhNbPNM,102
3
3
  forestui/app.py,sha256=Yt4C6cHAao0Y4WRia6-pBCMvT3AXh5BZMoNCjSAZ6-Q,39779
4
- forestui/cli.py,sha256=j0tUXDK58_tPqgwTPaHsB496KlDsnNdOcC0pU5Xq6Uo,4802
4
+ forestui/cli.py,sha256=41Bn3OmGRIEjJpiMZL3puncjgVpb0wqPPrf9ccBixG8,4921
5
5
  forestui/models.py,sha256=vSeGOis6kdxJDV7720U-X0tACTJQkDnMY9WXYUAJsuA,6167
6
6
  forestui/state.py,sha256=x54bDbYZYuQa8Yv00v6AzUBiDKeP1N55sNEPcRQh6tM,8854
7
7
  forestui/theme.py,sha256=EaK-nX5H6qU34SEauS2EfDAYjk_QtgTEyf6cw1Yhl2E,9199
@@ -17,7 +17,7 @@ forestui/services/git.py,sha256=9Gu_yawmAckhBkepkNID80I_r4bFMqqs9IbTjT6VY4Q,9165
17
17
  forestui/services/github.py,sha256=jZF0iYDL4iZHarXC5zYfqLhuyUDiP_VsUwP63Z7cSt8,8156
18
18
  forestui/services/settings.py,sha256=j7PgYMoCaTv4moakNU2Uo75gMvezyYsmPpBV71-4Uec,2608
19
19
  forestui/services/tmux.py,sha256=WPTm0JUV9wGbXo70iwW1l3gcjqlZUnwWO_W7whtC_Jg,9715
20
- forestui-0.9.0.dist-info/METADATA,sha256=CMa6ghedA9sxFDtJNaZmlQMjgBxLATl1ch1mR59bN44,4434
21
- forestui-0.9.0.dist-info/WHEEL,sha256=WLgqFyCfm_KASv4WHyYy0P3pM_m7J5L9k2skdKLirC8,87
22
- forestui-0.9.0.dist-info/entry_points.txt,sha256=ifci7XODOi-Wmgal3AP-wCbNmsU7a2sHI-xe-def8CM,47
23
- forestui-0.9.0.dist-info/RECORD,,
20
+ forestui-0.9.2.dist-info/METADATA,sha256=q_C5ERiKjrEymSkS7rMJfYSekQg7V71EFPstX89ASSU,4829
21
+ forestui-0.9.2.dist-info/WHEEL,sha256=WLgqFyCfm_KASv4WHyYy0P3pM_m7J5L9k2skdKLirC8,87
22
+ forestui-0.9.2.dist-info/entry_points.txt,sha256=ifci7XODOi-Wmgal3AP-wCbNmsU7a2sHI-xe-def8CM,47
23
+ forestui-0.9.2.dist-info/RECORD,,