Skip to content

Multi git repositories project organizer made with rust

License

Notifications You must be signed in to change notification settings

omarahm3/switcher

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

84 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Welcome to switcher 👋

License: MIT Cargo: Switcher Github: CI Twitter: omarahm3

Multi git repositories project organizer made with rust.

This project is pretty immature, it was created so that i can learn Rust, there are other variants of this project made with other languages

However this might be the main project in which i'm going to continue maintaining it.

Install

From releases

wget -qcO ~/.local/bin/switcher https://github.com/omarahm3/switcher/releases/download/v<LATEST_VERSION>/switcher
chmod +x ~/.local/bin/switcher

Or install it as a cargo crate

cargo install switcher --version <LATEST_VERSION>

If you just don't know the version to use

cargo install switcher --version (cargo search switcher --limit 1 | head -n 1 | cut -d ' ' -f 3 | sed -e 's/"//g')

Build

git clone git@github.com:omarahm3/switcher.git
cd switcher
cargo build --release --all-features

Usage

switcher help

Using feature files

Feature files are files that describe a certain feature/bug/whatever on a specific project. You can create them in a specific format:

{
	"project": "example",
	"feature_specs": [
		{
			"repository": "my_repo",
			"branch": "fix/tricky-bug"
		},
		...
	]
}

You can check this example file too, and once you have the file somewhere you can just pass that to switcher by running:

switcher feature ./path-to-feature-file.json

and it will do the rest

Author

👤 Omar Ahmed

🤝 Contributing

Contributions, issues and feature requests are welcome!

Feel free to check issues page.

Show your support

Give a ⭐️ if this project helped you!

📝 License

Copyright © 2021 Omar Ahmed.

This project is MIT licensed.

About

Multi git repositories project organizer made with rust

Topics

Resources

License

Stars

Watchers

Forks

Packages

No packages published

Languages