A tool for maintaining file headers in egregious violation of strict standards.
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
like yum or apt-get, but for Windows
choco install lawyer
Term | Definition |
---|---|
Law | A file that specifies how file headers should look. See lawyer help law for more information. |