The inspiration for that script born at the Fosdem 2016 after the interview to Richard Stallman.
The problem is: without a license file your project is proprietary also if on GitHub!
So first of all I want to check all my repo if have that file and after a simple way to add to everyone a license file based.
So this script scan every repo of the user on GitHub for a license file or can download a license in the folder.
curl -sL https://raw.githubusercontent.com/Mte90/GH-License/master/install.sh | bash –
gh-license –scan Mte90
Example of output https://gist.github.com/Mte90/4c5ec76c94afa61983f8
gh-license –license GPLv3 && git add LICENSE && git commit -m “missing license” && git push origin master
The effect of the update on my GitHub profile.