UNPKG

outsystems-design-tokens

Version:

Store the Design Tokens used on the Ionic Framework and Widgets Library

18 lines (13 loc) 500 B
#!/usr/bin/env node // Import minimist for parsing command line arguments const minimist = require("minimist"); // Parse the command line arguments const args = minimist(process.argv.slice(2)); // Set the environment variables based on the parsed arguments process.env.src = args.src; process.env.dest = args.dest; process.env.config = args.config || undefined; process.env.prefix = args.prefix || ''; process.env.scss = args.scss || true; // Require your script require("./generate-tokens.js");