Expose status, add and remove through cmdliner, each defaulting to the origin remote and accepting --remote. Expected failures print one line on standard error and exit 1 instead of raising.
git-fleet
A Git extension for managing repositories across multiple Git hosts and destinations.
git-fleet is a native CLI I'm building to simplify the Git workflows I use across self-hosted Git services and public hosts. The project started as a few personal scripts for configuring dual-push repositories and is being rebuilt in OCaml as a single, reusable command.
Status
v0.1.0: CLI foundation
Initial release is just figuring out the project structure and command-line interface:
- Native OCaml executable
- Dune build system
- Cmdliner command interface
git fleetGit subcommand integration- Automated tests
Remote and multi-destination management will begin in v0.2.0.
Usage
Once git-fleet is installed somewhere on your PATH, Git automatically exposes it as a subcommand:
git fleet --help
git fleet --version
You can also invoke the executable directly:
git-fleet --help
Development
Install the project dependencies:
opam install . --deps-only --with-test
Build:
dune build
Run the tests:
dune runtest
Run the development executable:
dune exec git-fleet -- --help
dune exec git-fleet -- --version
License
MIT