@@ -97,16 +97,23 @@ After adding a hook to your pre-commit config, it's not a bad idea to run `pre-c
9797
9898 This hook checks Munki pkginfo files to ensure they are valid.
9999
100- - Specify your preferred list of pkginfo catalogs, if you wish to enforce it, followed by ` -- ` to signal the end of the list:
100+ - Specify your preferred list of pkginfo catalogs, if you wish to enforce it, followed by ` -- ` to signal the end of the list:
101101 ` args: ['--catalogs', 'testing', 'stable', '--'] `
102102
103- - Specify your preferred list of pkginfo categories, if you wish to enforce it, followed by ` -- ` :
103+ - Specify your preferred list of pkginfo categories, if you wish to enforce it, followed by ` -- ` :
104104 ` args: ['--categories', 'Productivity', 'Design', 'Utilities', 'Web Browsers', '--'] `
105105
106- - Specify required pkginfo keys, followed by ` -- ` :
107- ` args: ['--required-keys', 'category', 'description', 'developer', 'name', 'version', '--'] `
106+ - Specify required pkginfo keys, followed by ` -- ` :
107+ ` args: ['--required-keys', 'category', 'description', 'developer', 'name', 'version', '--'] `
108108 (default: description, name)
109109
110+ - Specify an alternate munki repo location by passing the argument:
111+ ` args: ['--munki-repo', './my_repo_location'] `
112+ (default: ".")
113+
114+ - Choose to just warn on missing icons with a flag, note if no other issues exist this will allow pre-commit to pass without seeing the warnings:
115+ ` args: ['--warn-on-missing-icons] `
116+
110117- __ check-munkiadmin-scripts__
111118
112119 This hook ensures MunkiAdmin scripts are executable.
0 commit comments