addlicense

Recursively scan directories to ensure source files have license headers

brewmacoslinux
Try with needOr install directly
Source

About

Scan directories recursively to ensure source files have license headers

Commands

addlicense

Examples

Add Apache 2.0 license header to all Go files in current directory$ addlicense -c 'My Company' -l apache *.go
Recursively add MIT license to all source files in a project$ addlicense -c 'My Name' -l mit -r ./src
Check if files have license headers without modifying them$ addlicense -check -c 'My Company' -l apache -r .