git-userhub 2.2.3 โ†’ 3.0.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 (2) hide show
  1. package/README.md +7 -2
  2. package/package.json +1 -1
package/README.md CHANGED
@@ -10,7 +10,7 @@
10
10
 
11
11
  <p>
12
12
  <a href="https://www.npmjs.com/package/git-userhub"><img src="https://img.shields.io/npm/v/git-userhub?style=flat-square&color=CB3837&logo=npm&logoColor=white" alt="npm version" /></a>
13
- <a href="https://www.npmjs.com/package/git-userhub"><img src="https://img.shields.io/npm/dm/git-userhub?style=flat-square&color=CB3837&logo=npm&logoColor=white" alt="downloads" /></a>
13
+ <a href="https://www.npmjs.com/package/git-userhub"><img src="https://img.shields.io/npm/dt/git-userhub?style=flat-square&color=CB3837&logo=npm&logoColor=white&label=total%20downloads" alt="total downloads" /></a>
14
14
  <a href="https://github.com/divyo-argha/git-user/releases"><img src="https://img.shields.io/github/v/release/divyo-argha/git-user?style=flat-square&color=00FFAA&label=latest" alt="Latest Release" /></a>
15
15
  <a href="https://github.com/divyo-argha/git-user/blob/main/LICENSE"><img src="https://img.shields.io/badge/License-MIT-22c55e?style=flat-square" alt="MIT" /></a>
16
16
  </p>
@@ -18,6 +18,9 @@
18
18
  <img src="https://img.shields.io/badge/GitHub-supported-181717?style=for-the-badge&logo=github&logoColor=white" alt="GitHub" />
19
19
  <img src="https://img.shields.io/badge/GitLab-supported-FC6D26?style=for-the-badge&logo=gitlab&logoColor=white" alt="GitLab" />
20
20
  <img src="https://img.shields.io/badge/Bitbucket-supported-0052CC?style=for-the-badge&logo=bitbucket&logoColor=white" alt="Bitbucket" />
21
+ <img src="https://img.shields.io/badge/macOS-supported-000000?style=for-the-badge&logo=apple&logoColor=white" alt="macOS" />
22
+ <img src="https://img.shields.io/badge/Linux-supported-FCC624?style=for-the-badge&logo=linux&logoColor=black" alt="Linux" />
23
+ <img src="https://img.shields.io/badge/Windows-supported-0078D4?style=for-the-badge&logo=windows&logoColor=white" alt="Windows" />
21
24
 
22
25
  <br /><br />
23
26
 
@@ -87,7 +90,7 @@ git-user switch work
87
90
  | Feature | Description |
88
91
  |---------|-------------|
89
92
  | ๐Ÿ”‘ **Identity switching** | Name + email + SSH key as one atomic unit |
90
- | ๐Ÿ” **SSH key management** | Auto-generate ed25519 keys, bind existing keys |
93
+ | ๐Ÿ” **SSH key management** | Auto-generate ed25519 keys, bind existing keys, `pubkey` shows active key only |
91
94
  | ๐Ÿ”’ **Temporary sessions** | Use an identity on a shared machine โ€” zero trace left behind |
92
95
  | ๐Ÿ›ก๏ธ **Security audit** | `git-user security` checks permissions and passphrase protection |
93
96
  | ๐Ÿš€ **HTTPS โ†’ SSH** | `git-user fix-remote` converts remotes for passwordless push |
@@ -123,6 +126,7 @@ current Show active identity
123
126
  remove <name> Delete an identity
124
127
  edit <name> <email> Update email
125
128
  bind <name> Link an SSH key
129
+ pubkey Show public key of active identity
126
130
  passphrase Change passphrase for active identity
127
131
  rekey <name> Rotate SSH key
128
132
  fix-remote Convert HTTPS remotes to SSH
@@ -138,6 +142,7 @@ tui Interactive menu
138
142
  completion <shell> Shell completions
139
143
  hook install|uninstall Pre-commit identity guard
140
144
  --update Update to latest version
145
+ --version / -v Show version
141
146
  ```
142
147
 
143
148
  **Aliases:** `ls` โ†’ `list` ยท `sw` โ†’ `switch` ยท `rm` โ†’ `remove`
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "git-userhub",
3
- "version": "2.2.3",
3
+ "version": "3.0.0",
4
4
  "description": "Switch Git accounts in one command. No config editing. No SSH key chaos.",
5
5
  "bin": {
6
6
  "git-user": "bin/git-user.js"