7 unstable releases

0.4.0 Sep 29, 2023
0.3.1 Jun 24, 2022
0.3.0 Feb 9, 2022
0.2.1 Feb 9, 2022
0.1.1 Feb 8, 2022

#497 in Development tools

MIT license

33KB
858 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–22MB
~317K SLoC