google / Addlicense
Licence: apache-2.0
A program which ensures source code files have copyright license headers by scanning directory patterns recursively
Stars: ✭ 318
Programming Languages
go
31211 projects - #10 most used programming language
Projects that are alternatives of or similar to Addlicense
Cypress Vue Unit Test
A little helper to unit test Vue components in the Cypress.io E2E test runner
Stars: ✭ 298 (-6.29%)
Mutual labels: utility
FSMon
File system monitoring utility written in plain PHP
Stars: ✭ 12 (-96.23%)
Mutual labels: utility
Lobash
A modern, safe, powerful utility library for Bash script development.
Stars: ✭ 280 (-11.95%)
Mutual labels: utility
vscode-snippet-generator
📜 Generate snippets from code in VSCode
Stars: ✭ 31 (-90.25%)
Mutual labels: utility
Rationale
Ramda inspired library of helper functions for ReasonML
Stars: ✭ 275 (-13.52%)
Mutual labels: utility
Length.js
📏 JavaScript library for length units conversion.
Stars: ✭ 292 (-8.18%)
Mutual labels: utility
excel2xx
导出 Excel 到结构化数据或代码 ( lua, c/c++, go 等等由你的 mako 模板决定 )
Stars: ✭ 14 (-95.6%)
Mutual labels: utility
Cryptocmd
Cryptocurrency historical price data library in Python. Data from https://coinmarketcap.com.
Stars: ✭ 299 (-5.97%)
Mutual labels: utility
glitter
Display git status information in your shell prompt
Stars: ✭ 47 (-85.22%)
Mutual labels: utility
Tooltip Sequence
A simple step by step tooltip helper for any site
Stars: ✭ 287 (-9.75%)
Mutual labels: utility
Encryptpad
Minimalist secure text editor and binary encryptor that implements RFC 4880 Open PGP format: symmetrically encrypted, compressed and integrity protected. The editor can protect files with passwords, key files or both.
Stars: ✭ 305 (-4.09%)
Mutual labels: utility
Extramaputils
🌍 the simple utility for google maps in android
Stars: ✭ 293 (-7.86%)
Mutual labels: utility
addlicense
The program ensures source code files have copyright license headers by scanning directory patterns recursively.
It modifies all source files in place and avoids adding a license header to any file that already has one.
install
go get -u github.com/google/addlicense
usage
addlicense [flags] pattern [pattern ...]
-c copyright holder (defaults to "Google LLC")
-f custom license file (no default)
-l license type: apache, bsd, mit, mpl (defaults to "apache")
-y year (defaults to current year)
-check check only mode: verify presence of license headers and exit with non-zero code if missing
The pattern argument can be provided multiple times, and may also refer to single files.
Running in a Docker Container
- Clone the repository using
git clone https://github.com/google/addlicense.git
- Build your docker container
docker build -t google/addlicense .
- Test the image
docker run -it google/addlicense -h
- Usage example
docker run -v ${PWD}:/go/src/app/ -it google/addlicense -c "Google LLC" *.go
license
Apache 2.0
This is not an official Google product.
Note that the project description data, including the texts, logos, images, and/or trademarks,
for each open source project belongs to its rightful owner.
If you wish to add or remove any projects, please contact us at [email protected].