You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Adds `-i` flag to modify the filename provided as an argument, rather than
outputting the license comment to stdout.
Added basic tests for in-place file modification.
This partially implements issue #4.
So the v1 feature can be considered implemented. However, the tool will still prepend a license even if a license header already exists, so this operation is not idempotent as requested for v2.
It would be nice to have a utility to bulk-update all files of a particular type or language and insert a comment at the top of the file.
Proposed feature evolution:
The text was updated successfully, but these errors were encountered: