mirror of
https://github.com/danielmiessler/fabric
synced 2024-11-10 07:10:31 +00:00
fixed --update
This commit is contained in:
parent
0b7f7e4fbe
commit
cf7341fe2c
@ -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:
|
||||
|
Loading…
Reference in New Issue
Block a user