Look at Cursor CLI: https://cursor.com/cli