LICENSE file copy script
clone the repository (the licenses/ folder must stay next to the script):
i recommend you clone to ~/.local/share/license-py/ or something similar.
git clone https://github.com/dragsbruh/license && cd license
chmod +x license.py(optional) make a symlink in your /usr/local/bin/ (or ~/.local/bin/) directory
sudo ln -s $PWD/license.py ~/.local/bin/licenseonly fish completions are supported as of now
add this to your config.fish
license shell fish | sourceUsage: license <license|subcommand>
Subcommands:
list list available licenses (one per line)
help show this help message
read print license to stdout
shell <language> print shell completions (`fish`)
<license> [file] save license file to `file` (default: LICENSE)licenses are sourced from spdx/license-list-data and are in plaintext format.
congrats on reaching the actual license section
this software is licensed under the BSD-2-Clause, see more info in LICENSE