mirror of
https://github.com/danielmiessler/Fabric.git
synced 2026-02-11 22:44:59 -05:00
fixed --update
This commit is contained in:
@@ -21,7 +21,8 @@ if __name__ == "__main__":
|
||||
'--stream', '-s', help='Use this option if you are piping output to another app. The output will not be streamed', action='store_true')
|
||||
parser.add_argument(
|
||||
'--list', '-l', help='List available patterns', action='store_true')
|
||||
parser.add_argument('--update', '-u', help='Update patterns')
|
||||
parser.add_argument(
|
||||
'--update', '-u', help='Update patterns', action='store_true')
|
||||
parser.add_argument('--pattern', '-p', help='The pattern (prompt) to use')
|
||||
parser.add_argument('--apikey', '-a', help='Add an OpenAI key')
|
||||
|
||||
@@ -45,7 +46,6 @@ if __name__ == "__main__":
|
||||
if args.update:
|
||||
Update()
|
||||
print('patterns updated:')
|
||||
print(os.listdir(config_patterns_directory))
|
||||
sys.exit()
|
||||
standalone = Standalone(args, args.pattern)
|
||||
if args.list:
|
||||
|
||||
Reference in New Issue
Block a user