docs: reformat commands

This commit is contained in:
张泊明518370910136 2022-03-14 13:09:31 +08:00
parent 1ca9da7335
commit e03dac6ef5
No known key found for this signature in database
GPG Key ID: FBEF5DE8B9F4C629

View File

@ -33,20 +33,20 @@ pytest -svv
## Commands & Features
- archive-all-repos archive all repos in gitea organization
- check-issues check the existence of issue by title on gitea
- checkout-releases checkout git repo to git tag fetched from gitea by release name, with due date
- clone-all-repos clone all gitea repos to local
- close-all-issues close all issues and pull requests in gitea organization
- create-issues create issues on gitea
- create-personal-repos create personal repos on gitea for all canvas students
- create-teams create teams on gitea by canvas groups
- get-no-collaborator-repos list all repos with no collaborators
- get-public-keys list all public keys on gitea
- get-repos-status list status of all repos with conditions
- invite-to-teams invite all canvas students to gitea teams by team name
- prepare-assignment-dir prepare assignment dir from extracted canvas "Download Submissions" zip
- upload-assignment-grades upload assignment grades to canvas from grade file (GRADE.txt by default), read the first line as grade, the rest as comments
- `archive-all-repos`: archive all repos in gitea organization
- `check-issues`: check the existence of issue by title on gitea
- `checkout-releases`: checkout git repo to git tag fetched from gitea by release name, with due date
- `clone-all-repos`: clone all gitea repos to local
- `close-all-issues`: close all issues and pull requests in gitea organization
- `create-issues`: create issues on gitea
- `create-personal-repos`: create personal repos on gitea for all canvas students
- `create-teams`: create teams on gitea by canvas groups
- `get-no-collaborator-repos`: list all repos with no collaborators
- `get-public-keys`: list all public keys on gitea
- `get-repos-status`: list status of all repos with conditions
- `invite-to-teams`: invite all canvas students to gitea teams by team name
- `prepare-assignment-dir`: prepare assignment dir from extracted canvas "Download Submissions" zip
- `upload-assignment-grades`: upload assignment grades to canvas from grade file (GRADE.txt by default), read the first line as grade, the rest as comments
## License