GitHub License

Questo articolo è stato scritto oltre 1 years, il contenuto potrebbe essere datato.

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.

Install

curl -sL https://raw.githubusercontent.com/Mte90/GH-License/master/install.sh | bash –

Example

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

license

The effect of the update on my GitHub profile.

Liked it? Take a second to support Mte90 on Patreon!
Become a patron at Patreon!

Leave a Reply

Your email address will not be published. Required fields are marked *