sketchtool, a command-line interface to integrate into your save to publish workflow. With
sketchtool you can:
Important: The Sketch command-line interface is free to use but requires a valid license to run plugins.
sketchtoolis provided “as is” without warranty of any kind.
sketchtool binary is located within the Sketch application bundle.
sketchtool from anywhere on the command-line, add the cli location to
$PATH or use a convenience script to look up the correct path using
#!/bin/sh SKETCH=$(mdfind kMDItemCFBundleIdentifier == 'com.bohemiancoding.sketch3' | head -n 1) # pass on all given arguments "$SKETCH/Contents/Resources/sketchtool/bin/sketchtool" "$@"
sketchtoolrequires macOS 10.11 or later.
Each Sketch release includes its own
sketchtool. If your application is designed to work with a specific version of Sketch, be sure to use the correct path to the command.