Giter Site home page Giter Site logo

mklicense's Introduction

mklicense - generate a valid license

Global installation:

composer global require --dev gabrielbarros/mklicense

Once it's installed, then the executable script mklicense will be available at ~/.config/composer/vendor/bin/mklicense.

On Linux systems if you specify the folder ~/.config/composer/vendor/bin in your $PATH, you'll be able to execute the global bin files directly from your terminal:

$ mklicense

If you prefer, you can install it only for the current project:

composer require --dev gabrielbarros/mklicense

Then run the following command to generate a license file in the current directory:

vendor/bin/mklicense

Usage:

mklicense agpl-3.0     # GNU Affero General Public License v3.0
mklicense apache-2.0   # Apache License 2.0
mklicense bsd-2-clause # BSD 2-Clause "Simplified" License
mklicense bsd-3-clause # BSD 3-Clause "New" or "Revised" License
mklicense bsl-1.0      # Boost Software License 1.0
mklicense cc0-1.0      # Creative Commons Zero v1.0 Universal
mklicense epl-2.0      # Eclipse Public License 2.0
mklicense gpl-2.0      # GNU General Public License v2.0
mklicense gpl-3.0      # GNU General Public License v3.0
mklicense lgpl-2.1     # GNU Lesser General Public License v2.1
mklicense mit          # MIT License <-- The most popular license on GitHub!
mklicense mpl-2.0      # Mozilla Public License 2.0
mklicense unlicense    # The Unlicense

You can also type the index instead of the license name:

mklicense 10

To see all available licenses and their indexes, just type:

mklicense

Some licenses will include the current year and your name which will be read from git config user.name. Just press Enter to confirm the default values.

mklicense's People

Contributors

gabrielbarros avatar

Watchers

 avatar

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.