Crates.io | batl |
lib.rs | batl |
version | 0.2.1 |
source | src |
created_at | 2024-05-09 01:40:03.831412 |
updated_at | 2024-05-18 18:12:04.372624 |
description | The multi-repo development tool |
homepage | https://github.com/lernib/batl |
repository | https://github.com/lernib/batl |
max_upload_size | |
id | 1234786 |
size | 78,652 |
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.
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
# 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!