Jason Snell at SixColors has an article on running shortcuts from the mac command line.
I haven’t gotten to play with shotcuts yet as I haven’t moved to Monterery because the company I am working for still runs Premiere Pro 2019 and it is doubtful that it runs on Monterery and even if it does it will likely be not that stable. Not like I want to be running Premiere Pro 2019 anyway, basically I don’t want to live without the new caption feature when running Premiere Pro.