tai
v3.0.0
Published
a tool for managing student assignment repos
Downloads
20
Readme
tai
a tool for managing student assignment repos
setup
tai config - to configure the stored information
- github organization
- github token
- enabling SSH
NOTE: it is highly recommended to use an ssh key and ssh-agent
to add your key when using the close
feature.
tai config -o <githubOrganization>
-g <githubToken>
-s <true | false>
tai show-config: show current configuration
use -s flag to show tokens.
tai show-config -s
tai clear: remove current organization and Github token
tai clear -o <githubOrganization>
-g <githubToken>
clears individual configuration objects
tai clear
clears out all configuration objects
tai team - to set teams
tai team <json_filepath>
json file:
[ "tad-and-anki", "plz-and-respond" ]
teams must be valid branch names
run
tai setup-branches - to create unique branch for each team Optional [branches] flag available to specify a set of branches different from the stored team. JSON format required.
tai setup-branches <repo_name> [branches]
tai close - to merge team branches into unique folders in master
tai close <repo_name>
tai open - shows the URI for the repo on github.com
tai open <repo_name>