gioditalia / GH-License

Scan your repos and download an Open Source license

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

#GitHub License License

This script scans every repo of a user on GitHub for a license file, downloads a license to the project folder, and adds a license badge in the readme of the project.

Remember, without a license file your project is proprietary even if it is on GitHub!

##Install

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

##Example

gh-license --scan Mte90

With this command you will get a report in a file called Mte90-gh-license-report

gh-license --license GPLv3

With this command, a GPLv3 license will be downloaded, a shields will be added in the readme and if Git is available a commit will be added and the changes will be pushed to the repo.

Example of output https://gist.github.com/Mte90/4c5ec76c94afa61983f8

About

Scan your repos and download an Open Source license

License:GNU General Public License v3.0


Languages

Language:Python 97.7%Language:Shell 2.3%