Giter Site home page Giter Site logo

license's Introduction

Install

go get -u github.com/nishanths/license

Create licenses from the command-line.



Usage

Generate a license

To print a license to stdout, run license followed by the license name:

license mit

Save to file

Use the -o flag to save the license to a file:

license -o LICENSE.txt mit

Customize name and year

license -year=2013 -name=Alice isc

If unspecified, the current year is used.

To determine the name, license uses the following in order. Since you likely have your name set in .gitconfig, you can always omit the -name flags.

- command line flags: -name, -n
- environment variable: LICENSE_FULL_NAME
- gitconfig and hgconfig
- "os/user".Current()
- empty string

Authentication

If you receive a 403 Forbidden: API rate limit exceeded while updating licenses, use your GitHub username and a personal access token (no scopes required).

license -auth username:e0a8a01b1f125a785ea3d7ada98eb6a018e2fe4f -update

(The token above will not work.)

More docs

Help is available by runnning license -help

View the list of available licenses by running license -list

Contributing

Pull requests for new features, bug fixes, and suggestions are welcome!

License

MIT

license's People

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.