‘ait’ is a command line tool for managing git repository URLs
Create a .ait/git-list.json
file in the user's home directory and initialize its content as {}
.
Add repo
and url
as key-value pairs to git-list.json
.
Delete repo
from git-list.json
.
List all items in git-list.json
, and ait ls repo
can be used to view the corresponding URL of repo
.
Clone the corresponding repository of repo
to the current directory.
If you input y
, all the projects in git-list.json
will be cloned to the current directory, otherwise they will not be cloned.
Update the URL corresponding to repo
to url
.
Search repo
in git-list.json
, if found, display the corresponding URL of repo
, otherwise prompt not found.
Display help information.