Fixed Python path in client.

This commit is contained in:
Daniel Miessler 2024-02-03 14:09:16 -08:00
parent a2a84ef22e
commit 21a8a3af73

View File

@ -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("~")