- The fastest way to create a script: Launch the app as per usual, then type the name of a script that doesn't exist:
My New Script
Then hit Enter.
You can use TypeScript by opening the
Kittab and "Switch to TypeScript Mode"
The files in the
~/.kenv/templatesdir will be used when creating new scripts. You can create a template with your personal data filled out
~/.kenv/templates/john.jsthen in your
// Author: John Lindquist// Twitter: @johnlindquist
Why the Import?
The line is not required, but this comment helps code editors to apply the correct type definition files for autocomplete/code-hinting.