batl

Crates.iobatl
lib.rsbatl
version0.2.1
sourcesrc
created_at2024-05-09 01:40:03.831412
updated_at2024-05-18 18:12:04.372624
descriptionThe multi-repo development tool
homepagehttps://github.com/lernib/batl
repositoryhttps://github.com/lernib/batl
max_upload_size
id1234786
size78,652
Carlos Kieliszewski (frqubit)

documentation

README

Battalion

Battalion is a CLI tool for managing codebase relationships. It uses a simple heirarchy of repositories and workspaces to link codebases together when needed, and keep them separate when not.

Installation

cargo install batl
batl setup

# (optional) Install batlas
batl repository fetch battalion/batlas
batl repository exec -n battalion/batlas build
batl repository exec -n battalion/batlas install

Usage

# Create a new repository
batl repository init prototypes/awesome-project

# Create a new workspace
batl workspace init --ref prototypes/awesome-project

# Create a library
batl repository init prototypes/awesome-library

# cd into the workspace
cd $(batl workspace which prototypes/awesome-project)

# ...or if you use batlas with VSCode...
batlas prototypes/awesome-project code %!

# create a link while in directory of workspace
batl link init -n library prototypes/awesome-library

# Start building!
Commit count: 62

cargo fmt