Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

use argparser in generate_session.py #90

Merged
merged 2 commits into from
Dec 9, 2022
Merged

Conversation

Gnomeek
Copy link
Contributor

@Gnomeek Gnomeek commented Dec 9, 2022

use argparser

@Gnomeek Gnomeek changed the title Main use argparser in generate_session.py Dec 9, 2022
def gen_argparser() -> argparse.Namespace:
"""generate argparser"""
parser = argparse.ArgumentParser(description="generate ChatGPT seesion token")
parser.add_argument("email", type=email_type, help="email address of your ChatGPT account")
Copy link
Owner

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Is it compatible with the current command?

Copy link
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

yes

@fuergaosi233
Copy link
Owner

LGTM

@fuergaosi233 fuergaosi233 merged commit 8544a67 into fuergaosi233:main Dec 9, 2022
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants