@mbhuman/gprt
v1.0.0
Published
Git Profile Rotator CLI tool with TUI (TypeScript)
Downloads
28
Readme
gprt
Simple Git Profile Rotator CLI with a small TUI for switching between Git identities.
Install
npm install
npm run buildTo use it globally from this repo:
npm linkUsage
Start the TUI
gprtor
gprt tuiList saved profiles
gprt listAdd a profile
gprt add work "John Doe" "[email protected]"Switch to a profile
gprt use workRemove a profile
gprt remove workShow current global Git identity
gprt currentProfile storage
Saved profiles are stored in:
~/.gprt-profiles.jsonNotes
gprt use <profile>updates your global Git config withuser.nameanduser.email.- The TUI lets you select, add, remove, and inspect profiles interactively.
