2 unstable releases

0.2.0 Apr 3, 2024
0.1.0 Apr 3, 2024

#7 in #copyright

22 downloads per month

Unlicense

6KB
51 lines

unlicense

Access the text of the Unlicense. https://unlicense.org

Installation

Using cargo-binstall:

cargo binstall unlicense

Using cargo:

cargo install unlicense

You can also grab a binary from the releases page.

Usage

$ unlicense # write to ./UNLICENSE
$ unlicense | cat # print to stdout

$ unlicense --help
Access the text of the Unlicense. <https://unlicense.org>

When used interactively, writes to ./UNLICENSE.
Otherwise (e.g. in a pipe), writes to stdout.

When given any arguments, displays this help page.

Library

This project also exposes a library you can use in your own Rust code. Add it as a dependency with:

cargo add unlicense

No runtime deps