This commit is contained in:
Родитель
2e1d7a5df9
Коммит
ee0561dd7a
4
.compute
4
.compute
|
@ -1,3 +1 @@
|
|||
env
|
||||
sleep 100
|
||||
exit 55
|
||||
cat ../keep/test.txt
|
||||
|
|
|
@ -678,6 +678,7 @@ program
|
|||
.alias('put')
|
||||
.description('enqueues current directory as new job')
|
||||
.option('-p, --private', 'prevents automatic sharing of this job')
|
||||
.option('-c, --continue <jobNumber>', 'continues job with provided number by copying its "keep" directory over to the new job')
|
||||
.option('-w, --watch', 'immediately starts watching the job log output on secondary buffer')
|
||||
.option('-l, --log', 'waits for and prints job\'s log output')
|
||||
.on('--help', function() {
|
||||
|
@ -716,7 +717,8 @@ program
|
|||
diff: diff,
|
||||
clusterRequest: clusterRequest,
|
||||
description: title,
|
||||
private: options.private
|
||||
private: options.private,
|
||||
continueJob: options.continue
|
||||
}, (code, body) => {
|
||||
if (code == 200) {
|
||||
console.log('Job number: ' + body.id)
|
||||
|
|
Загрузка…
Ссылка в новой задаче