register_ovh_account: pass domain as argument
This commit is contained in:
parent
306d4b536e
commit
67335c198b
@ -1,8 +1,13 @@
|
|||||||
#!/usr/bin/python3
|
#!/usr/bin/python3
|
||||||
|
|
||||||
|
import sys
|
||||||
from ovh import ovh
|
from ovh import ovh
|
||||||
|
|
||||||
domain = 'example.com'
|
if len(sys.argv) != 2:
|
||||||
|
print('usage: {} <domain>'.format(sys.argv[0]))
|
||||||
|
sys.exit(1)
|
||||||
|
|
||||||
|
domain = sys.argv[1]
|
||||||
|
|
||||||
client = ovh.Client()
|
client = ovh.Client()
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user