mirror of
https://github.com/YunoHost/yunorunner.git
synced 2024-09-03 20:05:52 +02:00
[mod] add futur command to restart a job
This commit is contained in:
parent
6d6d0b09ff
commit
7c518ff0d8
1 changed files with 2 additions and 1 deletions
3
cli.py
3
cli.py
|
@ -113,8 +113,9 @@ def stop(job_id, domain=DOMAIN):
|
||||||
|
|
||||||
|
|
||||||
def resume(job_id, domain=DOMAIN): pass
|
def resume(job_id, domain=DOMAIN): pass
|
||||||
|
def restart(job_id, domain=DOMAIN): pass
|
||||||
|
|
||||||
|
|
||||||
if __name__ == '__main__':
|
if __name__ == '__main__':
|
||||||
require_token()
|
require_token()
|
||||||
argh.dispatch_commands([add, list_, delete, update, stop, resume])
|
argh.dispatch_commands([add, list_, delete, update, stop, resume, restart])
|
||||||
|
|
Loading…
Add table
Reference in a new issue