-
Notifications
You must be signed in to change notification settings - Fork 11
/
help.js
executable file
·25 lines (22 loc) · 1.05 KB
/
help.js
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
const chalk = require('chalk');
const log = console.log;
const menus = {
main:`
boidcmd [command] <options>
${chalk.red('To uninstall boid-cli run "sudo apt purge boinc-client" then uninstall the boid-cli module')}
setup .............. sets up boid for the first time should only run once
install ............ attaches project and starts work if device is curently attached to an account
run ................ starts boid process
quit ............... stops boid process
setCPU <option> .... sets percentage of cpu usage based on option can be either Int or Float
resume ............. resumes all work for currrent project
suspend ............ suspends all work for current project
status ............. shows status for all tasks
devices <option> ... shows your registered devices, option is csv , default is JSON format
workunits .......... shows last 100 workunits
version ............ show package version
help ............... show help menu for a command
`
}
console.log(menus.main)
process.exit(0);