Skip to content

dragsbruh/license

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

4 Commits
 
 
 
 
 
 
 
 

Repository files navigation

license

LICENSE file copy script

installation

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/license

shell completions

only fish completions are supported as of now

add this to your config.fish

license shell fish | source

usage

Usage: 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

licenses are sourced from spdx/license-list-data and are in plaintext format.

see available licenses

LICENSE

congrats on reaching the actual license section

this software is licensed under the BSD-2-Clause, see more info in LICENSE

About

cli tool to quickly add LICENSE files to your project

Resources

License

BSD-2-Clause, Unknown licenses found

Licenses found

BSD-2-Clause
LICENSE
Unknown
license.py

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published