Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
https://github.com/maulik9898/gus-rs
A simple Git User Switching app written in rust.
https://github.com/maulik9898/gus-rs
clap-rs git rust
Last synced: 7 days ago
JSON representation
A simple Git User Switching app written in rust.
- Host: GitHub
- URL: https://github.com/maulik9898/gus-rs
- Owner: maulik9898
- License: mit
- Created: 2023-08-21T16:28:36.000Z (about 1 year ago)
- Default Branch: main
- Last Pushed: 2023-08-22T08:51:42.000Z (about 1 year ago)
- Last Synced: 2024-04-24T21:12:33.556Z (7 months ago)
- Topics: clap-rs, git, rust
- Language: Rust
- Homepage:
- Size: 242 KB
- Stars: 1
- Watchers: 1
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
- License: LICENSE
Awesome Lists containing this project
README
# 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:
```bash
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.
```bash
gus list
```
- **Add New Profile**: Create a new Git user profile.
```bash
gus add --name JohnDoe --email [email protected] --profile work
```
- **Activate Profile**: Switch to a specific Git user profile.
```bash
gus ac work
```- **Delete Profile**: Remove an existing Git user profile.
```bash
gus delete
```
- **Edit Profile**: Modify the details of an existing Git user profile.
```bash
gus edit
```- **Help**: Access detailed help information for each command.
```bash
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](LICENSE).