Reformat with black
This commit is contained in:
parent
426585d412
commit
580f215ce3
12
netrun.py
12
netrun.py
|
@ -27,9 +27,17 @@ def yn(question, options="yn"):
|
||||||
|
|
||||||
return response
|
return response
|
||||||
|
|
||||||
parser = argparse.ArgumentParser(description="Securely run a script from the Internet")
|
|
||||||
|
parser = argparse.ArgumentParser(
|
||||||
|
description="Securely run a script from the Internet"
|
||||||
|
)
|
||||||
parser.add_argument("url", help="URL of the script")
|
parser.add_argument("url", help="URL of the script")
|
||||||
parser.add_argument("-s", "--skip-pager", action="store_true", help="Skip pager and confirmation; run script immediately")
|
parser.add_argument(
|
||||||
|
"-s",
|
||||||
|
"--skip-pager",
|
||||||
|
action="store_true",
|
||||||
|
help="Skip pager and confirmation; run script immediately",
|
||||||
|
)
|
||||||
args = parser.parse_args()
|
args = parser.parse_args()
|
||||||
url = args.url
|
url = args.url
|
||||||
|
|
||||||
|
|
Loading…
Reference in New Issue
Block a user