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
***"--"*** needs to be added at the end when using this kind of syntax while providing args
57
70
58
71
### Parameters
59
72
60
73
***--filename***:
61
74
By default this pre-commit dont need You to provide filename because diff mechanism gets it by itself. When executed pre-commit mechanism gets filename parameter anyway.
62
75
63
-
***--keyword, -k***:
64
-
[REQUIRED] Provide this to find specific string existing in incoming commit, or to find it in file specified by You
76
+
***--keywords, -k***:
77
+
[REQUIRED] Provide this to find specific list of strings existing in incoming commit, or to find it in file specified by You
65
78
66
79
***--nodiff, -nd***:
67
80
If You wish to use this pre-commit to check for string in whole file not just in incoming changes you can use this flag with parameters: "false" which is default setting for using script in diff mode, "true" sets script in no-diff mode which allows user to find phrase in whole file chosen previously
0 commit comments