Skip to main content

A script to add license disclaimers

Project description

licor (pronounciated liquor) is a little script that allows programmers to add copyright/license/warranty disclaimers to all their files easily.



licor list-db [<path>] [options]
licor list-all [<path>] [options]
licor list-path [<path>] [options]
licor list-templates [options]
licor print-templ <format> [options]
licor insert-header <format> [<path>] [options]


--comment-start=<comment-start>                 Comment start token to use [default: //]
--comment-stop=<comment-stop>                   Comment stop token to use [default: */]
--border=<border>                               Border character for some fancy stuff [default: *]
-f --fancy                                      Use more fancy comments
--after-comment=<after-comment>                 A string to seperate border and content (defaults to one blank)
-c --confirm                                    Wait for user confirmation before modifying files
--format=<format>                               Use a special comment format [default: block]
--license=<license>                             Use this license template [default: GPLv3]
--single-file                                   Use single-file templates
--copyright                                     Use templates containing copyright information
-a <author> --author=<author>                   Set the author (required for --copyright)
-p <project> --project=<project>                Set the project (required unless --single-file is specified)
-e <ending> --file-ending=<ending>              Search for files ending with this ending [default: c]
-i --ignore-db                                  Ignore the database of processed files
--ignore-paths=<paths>                          Ignore all paths with one of `<paths>` in it (comma-seperated) [default: .git]
--pad-to=<pad-to>                               Pad comment blocks to this width [default: 0]


licor is licensed under the GNU AGPLv3.


Just send a pull request. Or an email.

Project details

Download files

Download the file for your platform. If you're not sure which to choose, learn more about installing packages.

Files for licor, version 0.0.4
Filename, size File type Python version Upload date Hashes
Filename, size licor-0.0.4-py3-none-any.whl (33.8 kB) File type Wheel Python version py3 Upload date Hashes View
Filename, size licor-0.0.4.tar.gz (8.2 kB) File type Source Python version None Upload date Hashes View

Supported by

Pingdom Pingdom Monitoring Google Google Object Storage and Download Analytics Sentry Sentry Error logging AWS AWS Cloud computing DataDog DataDog Monitoring Fastly Fastly CDN DigiCert DigiCert EV certificate StatusPage StatusPage Status page