Skip to content

Instantly share code, notes, and snippets.

@fasheng
Last active November 23, 2019 06:59
Show Gist options
  • Save fasheng/91b211e2265f0cbce6e7d979a3b64727 to your computer and use it in GitHub Desktop.
Save fasheng/91b211e2265f0cbce6e7d979a3b64727 to your computer and use it in GitHub Desktop.
Archive github projects automatically with TagUI

TagUI是个不错的前端自动化测试工具,使用它可以非常简单的批量对github项目进行归档操作。


TagUI is a great front-end automation testing tool. With it, we could archive multiple github projects easily.

Usage:

npm install tagui
tagui flow.txt chrome
user = 'fasheng'
prjs = ['team-robots','deepin-network-tests','network-testing-experiments']
for (i=0; i<prjs.length; i++)
{
prj = prjs[i]
https://github.com/`user`/`prj`/settings
click .Box.Box--danger .Box-row:nth-child(3) .btn.btn-danger.boxed-action
type .Box.Box--danger .Box-row:nth-child(3) .form-control.input-block as `prj`[enter]
click .Box.Box--danger .Box-row:nth-child(3) .btn.btn-block.btn-danger
}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment