A CLI utility to manage license headers
Project description
Rodent
A simple CLI utility that can add license headers to your files.
Motives
Attempted using the Apache RAT https://creadur.apache.org/rat/apache-rat/index.html and failed. Had to download the Java SDK, executed the thing and got a Java error.
Features
rodent list
: lists the files that are in scope (git-aware, only includes files tracked by git)rodent check
: allows to break a build when a new file without header is introduced in the code base, logs all non-compliant filesrodent apply
: mass inserts Apache license headers throughout large code bases
All commands receive a -f
--file-regex
argument that allow to filter
files that are affected.
Limitations
- Currently only works for py/js/jsx, can easily be extended to support more file types
Project details
Release history Release notifications | RSS feed
Download files
Download the file for your platform. If you're not sure which to choose, learn more about installing packages.
Source Distribution
rodent-0.1.0.tar.gz
(3.9 kB
view details)
File details
Details for the file rodent-0.1.0.tar.gz
.
File metadata
- Download URL: rodent-0.1.0.tar.gz
- Upload date:
- Size: 3.9 kB
- Tags: Source
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/1.12.1 pkginfo/1.5.0.1 requests/2.21.0 setuptools/40.6.3 requests-toolbelt/0.8.0 tqdm/4.29.0 CPython/3.6.7
File hashes
Algorithm | Hash digest | |
---|---|---|
SHA256 | e72ce5051b8ee80ff43946483dde602cad66b5b671dec6bfdc248996e94172ea |
|
MD5 | 700d456201d8fa95770a91701f5bfb00 |
|
BLAKE2b-256 | 912ce5b5681ceeb610f7ce40be0d8f46779d647aef14baef7a5ae81ce7f77250 |