0.4.6 • Published 5 years ago

copyright-header v0.4.6

Weekly downloads
1,098
License
MIT
Repository
github
Last release
5 years ago

Copyright-Header

npm Build Status Maintainability Test Coverage codecov dependencies Status

Validate, add and update copyright headers automatically, based on the git history.

Installation

NPM

Global:

npm i -g copyright-header

As local devDependency:

npm i -D copyright-header

Usage Hints

  • Use it inside of a git repo.
  • It will only affect files tracked by git.

Usage Examples (assuming global installation)

Validation:

copyright-header --copyrightHolder "Darth Fader" --include "src" --exclude "src/cli.ts"

Fixing:

copyright-header --fix --copyrightHolder "Darth Fader" --include "src" --exclude "src/cli.ts"

Options

Usage: copyright-header [options]

Options:

  --copyrightHolder <name>        Copyright Holder
  --fix                           adds or updates copyright header to files
  --templateId <id>               minimal | apache (default: minimal)
  -i, --include <paths>           include regexp file filter (default: )
  -e, --exclude <paths>           exclude regexp file filter (default: )
  --forceModificationYear <year>  number | "present"
  --excludeCommits <pattern>      ignores commits which message match this pattern
  -V, --version                   output the version number
  -h, --help                      output usage information

License

MIT

Copyright

Copyright (c) 2019 Marco Stahl

0.4.6

5 years ago

0.4.5

5 years ago

0.4.4

6 years ago

0.4.3

6 years ago

0.4.2

6 years ago

0.4.1

6 years ago

0.4.0

6 years ago

0.3.0

6 years ago

0.2.0

6 years ago

0.1.0

6 years ago

0.0.3

6 years ago

0.0.2

6 years ago

0.0.1

6 years ago