Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
https://github.com/captainsafia/legit
Add licenses to projects at the command line
https://github.com/captainsafia/legit
command-line-tool license-management open-source
Last synced: 6 days ago
JSON representation
Add licenses to projects at the command line
- Host: GitHub
- URL: https://github.com/captainsafia/legit
- Owner: captainsafia
- License: mit
- Created: 2017-03-01T22:17:28.000Z (over 7 years ago)
- Default Branch: master
- Last Pushed: 2019-05-20T17:44:24.000Z (over 5 years ago)
- Last Synced: 2024-08-02T07:10:37.591Z (2 months ago)
- Topics: command-line-tool, license-management, open-source
- Language: JavaScript
- Size: 2.11 MB
- Stars: 561
- Watchers: 6
- Forks: 19
- Open Issues: 10
-
Metadata Files:
- Readme: README.md
- License: LICENSE
- Code of conduct: CODE_OF_CONDUCT.md
Awesome Lists containing this project
- awesome-cli-apps - legit - Generate Open Source licences as files or file headers. (Development / Chat)
- fucking-awesome-cli-apps - legit - Generate Open Source licences as files or file headers. (Development / Chat)
README
# legit
legit is a command line application that allows you to automagically generate a
LICENSE file for the current working directory that you are in or a license header
for a file where applicable.### Installation
```
npm install --global @captainsafia/legit
```### Usage
```
Usage: legit [options] [command]Commands:
list|l List all available licenses
put|p [options] Put a license in this directoryOptions:
-h, --help output usage information
-V, --version output the version numberUsage: put|p [options]
Put a license in this directory
Options:
-h, --help output usage information
-f --file The file to add a header to
-u --user [user] The user/organization who holds the license
-y --year [year] The year the license is in effect
```![Legit Demo](https://cloud.githubusercontent.com/assets/1857993/23821404/bea5dfc2-05f6-11e7-8525-7f5bd88a7829.gif)
### Currently Supported Licenses
- BSD 2-clause Simplified License (bsd-2-clause)
- GNU General Public License v2.0 (gpl-2.0)
- BSD 3-clause New or Revised License (bsd-3-clause)
- The Unlicense (unlicense)
- GNU Lesser General Public License v2.1 (lgpl-2.0)
- GNU General Public License v3.0 (gpl-3.0)
- MIT License (mit)
- GNU Affero General Public License v3.0 (agpl-3.0)
- Eclipse Public License 1.0 (epl-1.0)
- Apache License 2.0 (apache-2.0)
- Mozilla Public License 2.0 (mpl-2.0)
- GNU Lesser General Public License v3.0 (lgpl-3.0)
- ISC License (ics)