You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
description="AutoDoc is a console application for generating code documentation using ChatGPT. Currently supports 1 language: Python. You can use an example file for any language using -example."
)
parser.add_argument("-file", type=str, help="Path to the code file.", required=True)
parser.add_argument(
"-example",
type=str,
help="Path to a file with an example of comments to it. Optional.",
)
args=parser.parse_args()
ifnotos.path.exists(args.file):
exit(f"[{RED}Error{RESET}] Code file does not exist")
ifargs.exampleandnotos.path.exists(args.example):
exit(f"[{RED}Error{RESET}] Example file does not exist")