Is it possible to generate Apple Shortcuts from a command line script?
My goal is to create a python or javascript program that will generate a .shortcut file to load onto devices. Sourcing the shortcut logic from a file with proper syntax. JSON or Markdown.
This project is what I’m looking for except there’s the issue that Shortcuts need a signed certificate to be shared even as a file.
Does this community have any experience with this?
Here is a clue:
Decompiling Apple Shortcuts
Apparently it used to be possible to self-sign a shortcut on Sonoma or before but the latest shortcuts CLI tool appears to have lost this signing ability.
Does anyone have suggestions for self-signing shortcuts without using iCloud share link?
Current outlook/hypothesis:
VM of Sonoma with iCloud signed in self-sign the .shortcutfile for ‘people-who-know-me’