项目
在 GitHub 查看 mklicense
cezaraugusto/mklicense
关于
CLI tool for generating Licenses. Easily.
开发工具可以做什么
- It writes your details (year, author, project description) into the file, which the GitHub generator does not always do.
- It is friendly for beginners and busy people: no flags to memorize, just answer a couple of prompts.
- It generates the file locally, so you never hand your LICENSE details to a third-party service.
实测星标增长
- 24小时
- 0
- 7天
- 0
- 15天
- +1
- 1个月
- 正在收集历史
各周期内的星标净变化,周期相互重叠,并非每日新增。缺失的测量保持空白。星标代表关注度,不代表软件质量。
README.md
原文CLI tool for building Licenses files. Easily.
mklicense


Why should I use this?
- It writes your details (year, author, project description) into the file, which the GitHub generator does not always do.
- It is friendly for beginners and busy people: no flags to memorize, just answer a couple of prompts.
- It generates the file locally, so you never hand your
LICENSEdetails to a third-party service.
Install
npm install -g mklicense
Usage
Run the command inside your project folder:
mklicense
The CLI walks you through a short interactive flow:
- Select a license from the list (see below).
- For MIT, Apache, GPL and AGPL, enter the starting year and the author name (both prefilled, the author defaults to your
git config user.name). - For GPL and AGPL, enter a one-line project description.
mklicense then writes a LICENSE file in the current directory. It is fully interactive and takes no command-line flags. Requires Node >=18.
Related projects
Licenses included
- Unlicense
- MIT
- Apache 2.0
- MPL 2.0
- GNU LGPL 3.0
- GNU GPL 3.0
- GNU AGPL 3.0
You talk about trust. So, where are all the licenses located?
mklicense extracts licenses from https://choosealicense.com/ (which is curated by GitHub), and creates a LICENSE file for your desired project. I have no control over any license, which is a good thing for you and me.
License
MIT (c) Cezar Augusto.
探索相关项目
加载中…