@pavlovic265/gt 0.71.0 → 0.74.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.
package/README.md CHANGED
@@ -33,6 +33,7 @@
33
33
  ## 🛠️ Installation
34
34
 
35
35
  ### npm (Recommended for cross-platform)
36
+
36
37
  ```bash
37
38
  npm install -g @pavlovic265/gt
38
39
  ```
@@ -40,12 +41,14 @@ npm install -g @pavlovic265/gt
40
41
  Supports Linux (x64, ARM64), macOS (Intel, Apple Silicon), and Windows (x64, ARM64).
41
42
 
42
43
  ### Homebrew (macOS)
44
+
43
45
  ```bash
44
46
  brew tap pavlovic265/265-gt
45
47
  brew install 265-gt
46
48
  ```
47
49
 
48
50
  ### Ubuntu/Debian (.deb package)
51
+
49
52
  ```bash
50
53
  # Download and install the latest .deb package
51
54
  wget https://github.com/pavlovic265/265-gt/releases/download/v0.3.0/gt_0.3.0_linux_amd64.deb
@@ -53,20 +56,21 @@ sudo apt install ./gt_0.3.0_linux_amd64.deb
53
56
  ```
54
57
 
55
58
  ### Fedora / RHEL / CentOS (.rpm package)
59
+
56
60
  ```bash
57
61
  # Download and install the latest .rpm package
58
62
  wget https://github.com/pavlovic265/265-gt/releases/download/v0.3.0/gt_0.3.0_linux_amd64.rpm
59
63
  sudo rpm -i gt_0.3.0_linux_amd64.rpm
60
64
  ```
61
65
 
62
-
63
-
64
66
  ### Quick Install Script
67
+
65
68
  ```bash
66
69
  curl -fsSL https://raw.githubusercontent.com/pavlovic265/265-gt/main/scripts/install.sh | bash
67
70
  ```
68
71
 
69
72
  ### Build from Source (For Developers)
73
+
70
74
  ```bash
71
75
  # Clone the repository
72
76
  git clone https://github.com/pavlovic265/265-gt.git
@@ -88,21 +92,25 @@ sudo mv gt /usr/local/bin/
88
92
  ## 🎯 Quick Start
89
93
 
90
94
  1. **Initialize Configuration**
95
+
91
96
  ```bash
92
97
  gt config global
93
98
  ```
94
99
 
95
100
  2. **Add your first account**
101
+
96
102
  ```bash
97
103
  gt account add
98
104
  ```
99
105
 
100
106
  3. **Authenticate with your Git platform**
107
+
101
108
  ```bash
102
109
  gt auth login
103
110
  ```
104
111
 
105
112
  4. **Start using gt commands**
113
+
106
114
  ```bash
107
115
  gt create feature-branch # Create and switch to a new branch
108
116
  gt up # Move up in branch stack
@@ -124,6 +132,7 @@ gt commit -m "My commit"
124
132
  ```
125
133
 
126
134
  When an unknown command is used, gt will show:
135
+
127
136
  ```
128
137
  Unknown command, passing to git: git [command]
129
138
  [git output]
@@ -140,22 +149,52 @@ This means you can use gt as a drop-in replacement for git while getting the ben
140
149
  | [Usage Examples](docs/examples.md) | Workflows, branch stacking, multi-account, shell completion |
141
150
  | [Integrations](docs/integrations.md) | Powerlevel10k prompt setup |
142
151
 
152
+ ## ⌨️ Interactive Keys
153
+
154
+ Interactive screens use modal navigation:
155
+
156
+ - `q` quits from normal mode
157
+ - `/` enters search mode in searchable lists
158
+ - `i` enters insert mode in text-input forms
159
+ - `Esc` exits search or insert mode
160
+ - `j` / `k` move down and up
161
+ - `h` / `l` move left and right where horizontal selection is available
162
+ - Arrow keys and `Tab` / `Shift+Tab` continue to work
163
+ - `Ctrl+C` remains available as an emergency quit
164
+
165
+ ## 🧱 Code Structure
166
+
167
+ ```text
168
+ .
169
+ ├── commands/ # Cobra command implementations by domain
170
+ ├── client/ # GitHub/GitLab API clients
171
+ ├── config/ # Global/local/public config management
172
+ ├── constants/ # Domain constants (platforms, config keys, enums)
173
+ ├── helpers/ # Facade exports for helper subpackages
174
+ │ ├── githelper/ # Git workflow and branch relationship operations
175
+ │ ├── sshhelper/ # SSH key and ssh-config utilities
176
+ │ └── accounthelper/ # Per-directory git account attachment helpers
177
+ ├── ui/
178
+ │ ├── components/ # Reusable TUI components (lists, prompts, inputs)
179
+ │ └── theme/ # UI colors, icons, and style helpers
180
+ ├── runner/ # Shell/git command execution abstraction
181
+ ├── utils/ # Small utility packages (log, validate, pointer, time)
182
+ └── version/ # Version check and release notification logic
183
+ ```
184
+
143
185
  ## 🚧 Planned Features
144
186
 
145
187
  - [ ] **Branch Syncing** — Seamlessly synchronize local and remote branches with intelligent conflict handling.
146
188
  - [ ] **Change Submission** — Streamlined `submit` command for creating pull requests or submitting changes for review.
147
189
  - [ ] **Advanced Branch Visualization** — Enhanced visualization of branch structures and relationships for easier navigation.
148
- - [x] **Multi-Platform Git Integration** — Full support for GitHub and GitLab with direct API calls (no external CLI dependencies).
149
190
  - [ ] **Theme Customization** — Flexible theme settings to personalize the CLI experience.
150
- - [x] **Automated GitHub Setup** — One-command configuration for GitHub authentication, commit signing, tokens, and SSH keys.
151
- - [x] **User-Aware Repository Checkout** — Automatically clone and manage repositories based on the active user profile.
152
-
153
191
 
154
192
  ## 🤝 Contributing
155
193
 
156
194
  We welcome contributions! Please feel free to submit a Pull Request. For major changes, please open an issue first to discuss what you would like to change.
157
195
 
158
196
  ### Development Setup
197
+
159
198
  ```bash
160
199
  git clone https://github.com/pavlovic265/265-gt.git
161
200
  cd 265-gt
Binary file
Binary file
Binary file
Binary file
Binary file
Binary file
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@pavlovic265/gt",
3
- "version": "0.71.0",
3
+ "version": "0.74.0",
4
4
  "description": "Git workflow utility with intelligent branch management and automation",
5
5
  "author": "Marko Pavlovic <pavlovic265@gmail.com>",
6
6
  "license": "MIT",