1 个不稳定版本

0.2.1 2024年5月18日
0.2.0 2024年5月9日

#7 in #执行

Download history 157/week @ 2024-05-04 20/week @ 2024-05-11 200/week @ 2024-05-18 4/week @ 2024-05-25 1/week @ 2024-06-01

75 每月下载次数

MITGPL-3.0-only

45KB
1.5K SLoC

营队

营队是一个用于管理代码库关系的命令行工具。它使用简单的层次结构来关联和分离代码库。

安装

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!

依赖

~17–29MB
~512K SLoC