tmux-tui 1.1.2 → 1.3.0

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.
Files changed (3) hide show
  1. package/README.md +89 -1
  2. package/dist/tmuxtui.js +156 -135
  3. package/package.json +4 -1
package/README.md CHANGED
@@ -78,7 +78,9 @@ When you press `i`, you can choose from 9 built-in pane layouts:
78
78
  | 8. Quad | 4 | 2x2 grid |
79
79
  | 9. IDE Pro | 4 | IDE + split right panel |
80
80
 
81
- ### Quick register current project
81
+ ### Commands
82
+
83
+ #### Init — register current project
82
84
 
83
85
  ```bash
84
86
  tmuxtui init
@@ -88,6 +90,92 @@ tmuxtui -i
88
90
 
89
91
  Creates a new tmux session named after the current directory and opens it with tmuxtui.
90
92
 
93
+ #### Update — self-update
94
+
95
+ ```bash
96
+ tmuxtui update
97
+ ```
98
+
99
+ Checks for the latest version on npm registry and automatically updates tmuxtui if a newer version is available. Shows the current version, and confirms the updated version after completion.
100
+
101
+ #### Version — show version
102
+
103
+ ```bash
104
+ tmuxtui --version
105
+ # or
106
+ tmuxtui -v
107
+ ```
108
+
109
+ Displays the installed version of tmuxtui.
110
+
111
+ #### Last — attach to most recent session
112
+
113
+ ```bash
114
+ tmuxtui last
115
+ # or
116
+ tmuxtui -l
117
+ ```
118
+
119
+ Quickly attach to the most recently used tmux session without opening the session picker.
120
+
121
+ #### Favorites only
122
+
123
+ ```bash
124
+ tmuxtui --favorites
125
+ # or
126
+ tmuxtui -F
127
+ ```
128
+
129
+ Open tmuxtui showing only favorited sessions.
130
+
131
+ ## Development
132
+
133
+ ### Prerequisites
134
+
135
+ - Node.js >= 18
136
+ - tmux >= 3.2
137
+
138
+ ### Setup
139
+
140
+ ```bash
141
+ # Clone the repository
142
+ git clone https://github.com/yourusername/tmuxtui.git
143
+ cd tmuxtui
144
+
145
+ # Install dependencies
146
+ npm install
147
+ ```
148
+
149
+ ### Development Commands
150
+
151
+ ```bash
152
+ # Run in development mode (with subcommands)
153
+ npm run dev -- init
154
+ npm run dev -- --help
155
+
156
+ # Run with arguments (alternative)
157
+ npm run dev:args init
158
+
159
+ # Build and test the compiled output
160
+ npm run dev:build -- init
161
+
162
+ # Test the packaged distribution (before publish)
163
+ npm run dev:pack
164
+ ```
165
+
166
+ ### Build and Publish
167
+
168
+ ```bash
169
+ # Build the project
170
+ npm run build
171
+
172
+ # Dry-run publish (creates .tgz for testing)
173
+ npm pack
174
+
175
+ # Publish to npm
176
+ npm publish
177
+ ```
178
+
91
179
  ## License
92
180
 
93
181
  MIT