nju33 / moza

A cli tool that you generate file from template
MIT License
0 stars 0 forks source link

get from a github repository #3

Open nju33 opened 6 years ago

nju33 commented 6 years ago

Configure

moza configure # inspired by awscli
github access token: ***
github username: ***
github repository: ***

then, to create ~/.moza/config following like

[default]
github_access_token = ***
github_username = ***
github_repository = ***

Generate|Copy?

moza gen tsconfig.json           # make in same name `tsconfig.json` in local 
moza gen tsconfig.build.json  # as above
nju33 commented 6 years ago
moza gen|cp? tsconfig.json tslint.json