6 releases

0.3.1 Jun 24, 2022
0.3.0 Feb 9, 2022
0.2.1 Feb 9, 2022
0.1.1 Feb 8, 2022

#833 in Development tools

32 downloads per month

MIT license

27KB
709 lines

lic

唔,就是一个生成 SPDX 的 LICENSE 的 cli 小工具。

Install

cargo install lic

Usage

lic new MIT --width 80 > LICENSE

Automaticly detect license field from package manager manifest.

  • Node.js: package.json
  • Rust: Cargo.toml
  • Python Poetry: pyproject.toml
lic auto --width 80

Search licenses from spdx list.

lic search gpl --number 20

TODO List

  • auto 时如果当前层找不到的话向上层查找试试

Dependencies

~8–16MB
~326K SLoC