JXA-userland / JXA

JavaScript for Automation(JXA) packages for TypeScript/Node.js.
MIT License
429 stars 22 forks source link

npx command for converting Script Definitions to Type Definitions #7

Closed havardh closed 6 years ago

havardh commented 6 years ago

I propose a command for creating .d.ts files from .app containers, like the ones in /Applications.

npx @jxa/sdef-to-dfs /Applications/Safari.app

This will write a .d.ts to the cwd with the name Safari.d.ts.