bt-helper
v0.1.4
Published
A modular helper CLI for Baota-style server operations.
Maintainers
Readme
bt-helper
Install
npm install -g bt-helper
bt-helper --helpLocal Dev
npm install
npm run build
node dist/cli.js --helpConfig
默认配置文件:
~/.config/bt-helper/config.json示例配置:
examples/config.example.jsonCommands
bt-helper config init
bt-helper config show
bt-helper setup --host 110.42.43.216 --port 22 --user root
bt-helper init
bt-helper backup
bt-helper backup --dry-run
bt-helper backup --skip-upload
bt-helper list
bt-helper verify
bt-helper recover --index 1 --yes
bt-helper migrate 154.9.228.43 --yes
bt-helper status
bt-helper schedule --every-hours 6
bt-helper unschedule
bt-helper update
bt-helper update --checkPublish
根目录放 token:
npm-token.txt命令:
npm run publish:token
npm run release -- patch
npm run release -- minor
npm run release -- major