Skip to content

Commit

Permalink
Accept cmd_args at startup
Browse files Browse the repository at this point in the history
  • Loading branch information
Simatwa committed Jan 14, 2024
1 parent 4070809 commit ffce678
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions WebChatGPT/console.py
Original file line number Diff line number Diff line change
Expand Up @@ -277,7 +277,7 @@ def output_bond(
with open(save_to, "a") as fh:
json.dump(text, fh, indent=4)
click.secho(f"Successfuly saved to `{save_to}`", fg="green")

def do_h(self, line):
"""Show help info in tabular format"""
table = Table(
Expand All @@ -302,7 +302,7 @@ def do_h(self, line):
)
Console().print(table)
click.secho(f"Submit any bug at : {__repo__}/issues/new", fg="yellow")

@busy_bar.run(help="Ensure conversation ID is correct")
def do_history(self, line):
"""Show conversation history"""
Expand Down

0 comments on commit ffce678

Please sign in to comment.