Skip to main content

licor – Disclaimer Helper

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

Usage

Usage:

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]

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]

License

licor is licensed under the GNU AGPLv3.

Contributing

Just send a pull request. Or an email.

Metadata

Release files for licor 0.0.4

For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.

Source distribution (sdist)

Source distribution for licor 0.0.4
File Size Uploaded
licor-0.0.4.tar.gz 8.2 kB Details

Built distribution (wheel)

Table of built distributions (wheels) for licor 0.0.4
File Interpreter ABI Platform
licor-0.0.4-py3-none-any.whl Python 3 none any Details

Total release size: 41.9 kB

Release files / licor-0.0.4.tar.gz

Download URL licor-0.0.4.tar.gz
Size 8.2 kB
Tags Source
SHA-256 checksum
How to use checksums
55200c0546edbef544d1a7b464e09848a124bfd15508f3e01c1c0d2d72f5f745
BLAKE2b-256 checksum
How to use checksums
1ebe8f172a844a112aded509a7303cfbf5f38b4a61d7bf5dced6d5333b38bdd5
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No

Release files / licor-0.0.4-py3-none-any.whl

Download URL licor-0.0.4-py3-none-any.whl
Size 33.8 kB
Tags Python 3
SHA-256 checksum
How to use checksums
6abcfbc64ab144680e661ce8a4e4b86c960562a7b259a675a01922e0e5665647
BLAKE2b-256 checksum
How to use checksums
91ee151bcbbcba9b2a89c2f8a66dd9b9fbb7593861fdbe837b73b2a762c899ce
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No

Release history Release notifications | RSS feed

This release

0.0.4 This release

2 release files

0.0.3

2 release files

0.0.2

2 release files

0.0.1

3 release files

Anthropic, PBC Visionary sponsor Bloomberg Visionary sponsor Hudson River Trading Visionary sponsor Meta Visionary sponsor NVIDIA Visionary sponsor Microsoft Sustainability sponsor Depot Continuous Integration AWS Cloud computing and Security Sponsor Datadog Monitoring Fastly CDN Google Download Analytics Sentry Error logging StatusPage Status page