Skip to main content

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 files

  • rodent 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


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.1.tar.gz (4.1 kB view details)

Uploaded Source

File details

Details for the file rodent-0.1.1.tar.gz.

File metadata

  • Download URL: rodent-0.1.1.tar.gz
  • Upload date:
  • Size: 4.1 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

Hashes for rodent-0.1.1.tar.gz
Algorithm Hash digest
SHA256 bb102596a06a1f4a23a16be689341cb3cb899e41ae2bbf521bd73597cb1448a0
MD5 82cf1f14fc7a0cda62652706def3e9ee
BLAKE2b-256 f22d90d1b1e2942a852b8b519fdd7dceef41a89da79bd94074cddced0e051dfd

See more details on using hashes here.

Provenance

Supported by

AWS AWS Cloud computing and Security Sponsor Datadog Datadog Monitoring Fastly Fastly CDN Google Google Download Analytics Microsoft Microsoft PSF Sponsor Pingdom Pingdom Monitoring Sentry Sentry Error logging StatusPage StatusPage Status page