Open sreesh-mallya opened 4 years ago
@sreesh-mallya are you working on this?
@sk364 No not yet but I can take a take it up if you want me to, after I finish the other one.
@sk364 I've started work on this issue. I'll create a PR with both the response styling and the subcommands together.
@sreesh-mallya can I work on this too? (If using typer)
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 logincodechefcli problem WEICOM
to get the problem descriptioncodechefcli problem --level easy
orcodechefcli problem --search easy
to search for problems based on difficultycodechefcli contests
to 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 https://github.com/sk364/codechef-cli/issues/51#issuecomment-675271293