Skip to content

Latest commit

 

History

History
35 lines (23 loc) · 523 Bytes

README.md

File metadata and controls

35 lines (23 loc) · 523 Bytes

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: pyproject.toml (PEP 621 and poetry)
lic auto --width 80

Search licenses from spdx list.

lic search gpl --number 20

TODO List

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