Skip to content
/ lawyer Public

Bring your file headers to justice!

License

Notifications You must be signed in to change notification settings

qubitz/lawyer

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

9 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

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

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.