sketchtool-cli
Simple cli wrapped around Sketch.app's sketchtool
binary.
Will always use the binary installed with Sketch, so whenever Sketch updates, it takes the updated version of sketchtool
as well.
Usage
yarn add sketchtool-cli
const sketchtool = ; // Check if sketchtool binary is availablesketchtool; // Get current version (string)sketchtoolversion; // = sketchtool --version // Get path to sketch plugin foldersketchtool; // = sketchtool show plugins // Execute any commandsketchtool; // Abstractions for most commonly used commandssketchtool; // = sketchtool dump ~/myFile.sketchsketchtool; // = sketchtool list pages ~/myFile.sketch