/lawyer

Bring your file headers to justice!

Primary LanguageGoMIT LicenseMIT

Lawyer ⚖️

Chocolatey Version MIT License

A tool for maintaining file headers in egregious violation of strict standards.

Pro bono services

Indictments 🔍

Analyze files to find headers that don't meet the strict criteria as specified in the Law.

lawyer indict file.txt # single file
lawyer indict *.txt    # or multiple files with globbing

Output:

searching for the law...found ./law.yaml
fail.txt is guilty

evidence
--------------------------------------------------
/// <copyright file="file.txt" company="ABC">
/// ABC © 2021. All rights reserved.
/// </copyright
--------------------------------------------------

indictment complete

Procurement process

Chocolatey

like yum or apt-get, but for Windows

choco install lawyer

Terms

Term Definition
Law A file that specifies how file headers should look. See lawyer help law for more information.