mirror of
https://github.com/YunoHost/yunorunner.git
synced 2024-09-03 20:05:52 +02:00
[mod] rename cancel to stop to be coherant
This commit is contained in:
parent
c4bda46189
commit
d8fc02a0c9
1 changed files with 2 additions and 2 deletions
4
cli.py
4
cli.py
|
@ -81,9 +81,9 @@ def list_(all=False, domain=DOMAIN):
|
|||
|
||||
def delete(job_id, domain=DOMAIN): pass
|
||||
def update(job_id, domain=DOMAIN): pass
|
||||
def cancel(job_id, domain=DOMAIN): pass
|
||||
def stop(job_id, domain=DOMAIN): pass
|
||||
def resume(job_id, domain=DOMAIN): pass
|
||||
|
||||
if __name__ == '__main__':
|
||||
require_token()
|
||||
argh.dispatch_commands([add, list_, delete, update, cancel, resume])
|
||||
argh.dispatch_commands([add, list_, delete, update, stop, resume])
|
||||
|
|
Loading…
Add table
Reference in a new issue