I've some suggestions too: How about using subcommands instead of using options for logging in, getting the problem description, listing contests, and submitting code?
Maybe something like:
codechefcli login to login
codechefcli problem WEICOM to get the problem description
codechefcli problem --level easy or codechefcli problem --search easy to search for problems based on difficulty
codechefcli contests to list contests
codechefcli submit WEICOM /path/to/solution/file C++ to submit a solution. Maybe we can use options here.
How about we use typer, instead of argparse?
Originally posted by @sreesh-mallya in #51 (comment)
I've some suggestions too: How about using subcommands instead of using options for logging in, getting the problem description, listing contests, and submitting code?
Maybe something like:
codechefcli loginto logincodechefcli problem WEICOMto get the problem descriptioncodechefcli problem --level easyorcodechefcli problem --search easyto search for problems based on difficultycodechefcli conteststo list contestscodechefcli submit WEICOM /path/to/solution/file C++to submit a solution. Maybe we can use options here.How about we use typer, instead of
argparse?Originally posted by @sreesh-mallya in #51 (comment)