使用 Rust 实现
Command | Options | Description | TODO |
---|---|---|---|
registry [NAME] |
--list, -l --set, -s |
切换/查询 NPM 源svy registry -l ,svy registry taobao ,svy registry taobao --set https://registry.npmmirror.com/ |
|
check [keyword]... |
检查当前目录下的文件中是否含有关键词,会自动忽略.git, .gitignore 和.gitignore 中文件 | Regex::new("*.log") 会报错,目前做了忽略处理 |
|
git | -e, --set-email <NEW_EMAIL> , -l, --list , -n, --set-name <NEW_NAME> |
切换 git config user.name 和 git config user.emailsvy git -l svy git github -e [email protected] svy git github -n qiyuor2 svy git github |
|
create | todo |
git clone https://github.com/QiYuOr2/svy.git
cargo build --release
cargo install --path .
svy registry