BoYanZh / Joint-Teapot

A handy and powerful tool for TAs in JI to handle works through Gitea, Canvas, and JOJ.
https://boyanzh.github.io/Joint-Teapot/
MIT License
18 stars 10 forks source link

Categorize commands according to platform #11

Open realSaltyFish opened 2 years ago

realSaltyFish commented 2 years ago

There are more and more commands now. I suggest categorizing them according to the platforms they work on, for example: python3 -m joint_teapot gitea get-public-keys and python3 -m joint_teapot canvas upload-assignment-grades. Feel free to let me work on this issue or do it yourself, whichever feels better for you.

BoYanZh commented 2 years ago

You can do it with the help of https://typer.tiangolo.com/tutorial/subcommands/nested-subcommands/