git2jss
git2jss copied to clipboard
Jamf Pro API + refactoring
Now uses the Jamf Pro API to:
- GET categories
- GET/PUT/POST scripts
Created file_contents
to reduce code duplication.
Abstracted get_template
to be used by both scripts and extension attributes.
Set the default of the limit parameter to 5 and capped it at 25.
Wow! This looks really good, at first glance this all looks correct. It will take me some time to review everything. Some of what you've done here I've been meaning to but have not found the time.
Thanks!
It seems this pull request removes the ability to create new scripts. If the ID is missing from the XML it does catch that, but never creates the script in Jamf.