sh -c "$(curl -fsSL https://raw.githubusercontent.com/isxcode/isx-cli/main/install.sh)"
国内阿里云下载
sh -c "$(curl -fsSL https://isxcode.oss-cn-shanghai.aliyuncs.com/zhixingyun/install.sh)"
# 1.登陆github账号
isx login
# 2.下载项目
isx clone
# 3.选择开发项目
isx choose
# 4.切换开发分支
isx checkout <issue_number>
# 5.提交代码到本地
isx git add .
isx git commit -m "your commit message"
# 6.推送到origin仓库(自带格式化代码)
isx push
# 7.提交pr
isx pr <issue_number>
# 8.如果提交的pr,无法成功rebase合并
isx pull
# 9.修复冲突,重新提交推送代码
isx push -f
# 查看所有命令
isx -h
# 命令详解
isx login -h
____ _____ __ __ __ _ ____
| / ___/| | | / ]| | | |
| ( \_ | | | _____ / / | | | |
| |\__ ||_ _|| |/ / | |___ | |
| |/ \ || ||_____/ \_ | | | |
| |\ || | | \ || | | |
|____|\___||__|__| \____||_____||____|
欢迎使用isx-cli脚手架
代码仓库:https://github.com/isxcode/isx-cli
Usage:
isx [command]
Available Commands:
build isx build | 使用docker编译项目代码
checkout isx checkout <issue_number> | 切换开发分支
choose isx choose | 切换开发项目
clean isx clean | 删除项目缓存
clone isx clone | 下载项目代码
completion Generate the autocompletion script for the specified shell
config isx config | 查看配置
db isx db list | isx db <issue_number> | 查看当前db(暂不开放)
delete isx delete <issue_number> | 删除组织分支
format isx format | 格式化代码
git isx git <git command> | 项目内执行git命令
gradle isx gradle <gradle_command> | 项目内执行gradle命令
help Help about any command
install isx install | 安装项目依赖
login isx login | 登录github账号
now isx now | 查看项目信息
package isx package | 源码编译打包
pr isx pr <issue_number> | 提交pr
pull isx pull | 拉取组织代码
push isx push | 格式化代码后,提交代码
remove isx remove | 删除本地项目
run isx run [frontend/backend/web] [port] | 使用docker运行项目
set isx set <config_key> <value> | 设置配置参数
start isx start | 启动项目
sync isx sync <branch_name> | 同步Github个人仓库指定分支
upgrade isx upgrade | 升级isx-cli脚手架
version isx version | 查看版本号
Flags:
--config string config file (default is $HOME/.isx/isx-config.yml)
-h, --help help for isx
Use "isx [command] --help" for more information about a command.