vm.delete added
This commit is contained in:
parent
5e543fa2aa
commit
9c10e53e7b
1 changed files with 10 additions and 0 deletions
|
@ -55,6 +55,16 @@ def stop(name, realm, seed, uuid):
|
||||||
print(load_dump_pretty(r.content))
|
print(load_dump_pretty(r.content))
|
||||||
|
|
||||||
|
|
||||||
|
@vm.command("delete")
|
||||||
|
@click.option("--name", envvar="OTP_NAME", required=True)
|
||||||
|
@click.option("--realm", envvar="OTP_REALM", required=True)
|
||||||
|
@click.option("--seed", envvar="OTP_SEED", required=True)
|
||||||
|
@click.option("--uuid", required=True)
|
||||||
|
def delete(name, realm, seed, uuid):
|
||||||
|
r = vm_command("delete", OTPCredentials(name, realm, seed), uuid)
|
||||||
|
print(load_dump_pretty(r.content))
|
||||||
|
|
||||||
|
|
||||||
@vm.command("status")
|
@vm.command("status")
|
||||||
@click.option("--name", envvar="OTP_NAME", required=True)
|
@click.option("--name", envvar="OTP_NAME", required=True)
|
||||||
@click.option("--realm", envvar="OTP_REALM", required=True)
|
@click.option("--realm", envvar="OTP_REALM", required=True)
|
||||||
|
|
Loading…
Reference in a new issue