The Mac includes a command line interface to run and interact with Shortcuts app. This could be potentially useful to some macOS users who rely on the Shortcuts app for scripting and automation, and who spend a lot of time in the Terminal
The currently available shortcuts command line flags include ‘run’, ‘list’, ‘view’, and ‘sign’, but note that with the exception of ‘list’, they will all launch the Shortcuts app in the GUI on the Mac.
How to Run Shortcuts from Command Line on Mac
From the Terminal, use the following syntax: