2 releases
0.1.1 | Aug 22, 2023 |
---|---|
0.1.0 | Aug 22, 2023 |
#4 in #user-profile
230KB
307 lines
Git User Switch (gus) - Simplify Git User Switching with Rust
Git User Switch (gus) is a command-line tool written in Rust using the clap-rs
library that simplifies the process of switching between Git user profiles. If you frequently work with multiple Git profiles or accounts, this tool can help streamline your workflow by providing an intuitive interface for managing and activating different profiles.
Features
- Simple Interface: The tool offers a straightforward command-line interface to manage your Git profiles.
- Profile Listing: List all available profiles and choose the one you want to activate.
- Profile Management: Add, edit, delete, and activate profiles easily.
Installation
You can install Git User Switch (gus) using the following command:
cargo install gus-rs
Usage
Switching between Git user profiles is now easier than ever. Use the following commands to manage your profiles:
-
List Profiles and Select: View all available profiles and choose the one you want to activate.
gus list
-
Add New Profile: Create a new Git user profile.
gus add --name JohnDoe --email john@example.com --profile work
-
Activate Profile: Switch to a specific Git user profile.
gus ac work
-
Delete Profile: Remove an existing Git user profile.
gus delete
-
Edit Profile: Modify the details of an existing Git user profile.
gus edit
-
Help: Access detailed help information for each command.
gus help
Contributing
Contributions are welcome! If you find any issues, have suggestions, or want to contribute, feel free to open an issue or submit a pull request.
License
This project is licensed under the MIT License.
Dependencies
~39–55MB
~895K SLoC