gitshift 1.0.9 → 2.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.
@@ -8,7 +8,7 @@ on:
8
8
  - package.json
9
9
  - package-lock.json
10
10
  - src/**
11
- - .github/workflows/publish-root.yml
11
+ - .github/workflows/publish.yml
12
12
 
13
13
  jobs:
14
14
  publish:
package/README.md CHANGED
@@ -1,6 +1,6 @@
1
1
  # GitShift CLI
2
2
 
3
- GitShift CLI helps you create, manage, and switch between GitHub identity profiles from the terminal. It stores profiles locally, updates your global Git config, and can generate SSH keys for each profile when needed.
3
+ GitShift CLI helps you create, manage, and switch between GitHub identity profiles from the terminal. It stores profiles locally, updates your global Git config, can generate SSH keys for each profile when needed, and can import existing SSH keys from your `~/.ssh` folder.
4
4
 
5
5
  ## Installation
6
6
 
@@ -37,6 +37,7 @@ gitshift --help
37
37
  - `gitshift current` - Display the active profile.
38
38
  - `gitshift use <profile>` - Switch to a saved profile and update global Git user name and email.
39
39
  - `gitshift remove <profile>` - Delete a saved profile.
40
+ - `gitshift scan` - Scan your `~/.ssh` folder and import existing SSH keys into new profiles.
40
41
  - `gitshift doctor` - Check whether Git, SSH, and GitHub CLI are installed.
41
42
 
42
43
  ## Example Workflow
@@ -44,6 +45,7 @@ gitshift --help
44
45
  ```bash
45
46
  gitshift add
46
47
  gitshift list
48
+ gitshift scan
47
49
  gitshift use personal
48
50
  gitshift current
49
51
  gitshift doctor
@@ -51,6 +53,8 @@ gitshift doctor
51
53
 
52
54
  When you create a profile and choose SSH generation, GitShift creates a key under your home directory in `.ssh` using the pattern `gitshift-<profile-name>`.
53
55
 
56
+ If you already have SSH keys on your machine, `gitshift scan` will list the available keys, let you pick one, and save it as a new imported profile.
57
+
54
58
  ## How It Works
55
59
 
56
60
  Profiles are saved locally on your machine using the app's configuration store. Switching profiles updates your global Git identity with:
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "gitshift",
3
- "version": "1.0.9",
3
+ "version": "2.0.0",
4
4
  "description": "GitHub Account Switcher CLI",
5
5
  "main": "server.js",
6
6
  "bin": {