mirror of
https://github.com/danielmiessler/fabric
synced 2024-11-10 07:10:31 +00:00
Fixed Python path in client.
This commit is contained in:
parent
a2a84ef22e
commit
21a8a3af73
@ -1,4 +1,4 @@
|
|||||||
#!/Users/daniel/Cloud/Development/fabric/client/.venv/bin/python3
|
#!/usr/bin/env python3
|
||||||
|
|
||||||
from utils import Standalone, Update, Setup
|
from utils import Standalone, Update, Setup
|
||||||
import argparse
|
import argparse
|
||||||
@ -34,11 +34,11 @@ if __name__ == "__main__":
|
|||||||
parser.add_argument(
|
parser.add_argument(
|
||||||
"--list", "-l", help="List available patterns", action="store_true"
|
"--list", "-l", help="List available patterns", action="store_true"
|
||||||
)
|
)
|
||||||
parser.add_argument(
|
parser.add_argument("--update", "-u", help="Update patterns", action="store_true")
|
||||||
"--update", "-u", help="Update patterns", action="store_true")
|
|
||||||
parser.add_argument("--pattern", "-p", help="The pattern (prompt) to use")
|
parser.add_argument("--pattern", "-p", help="The pattern (prompt) to use")
|
||||||
parser.add_argument(
|
parser.add_argument(
|
||||||
"--setup", help="Set up your fabric instance", action="store_true")
|
"--setup", help="Set up your fabric instance", action="store_true"
|
||||||
|
)
|
||||||
|
|
||||||
args = parser.parse_args()
|
args = parser.parse_args()
|
||||||
home_holder = os.path.expanduser("~")
|
home_holder = os.path.expanduser("~")
|
||||||
|
Loading…
Reference in New Issue
Block a user