UNPKG

snapai

Version:

AI-powered icon generation CLI for mobile app developers

16 lines (15 loc) 494 B
#!/usr/bin/env node process.removeAllListeners("warning"); process.on("warning", (warning) => { if (warning.name === "DeprecationWarning" && warning.message.includes("punycode")) { return; } console.warn(warning.stack); }); import { execute } from "@oclif/core"; import { fileURLToPath } from "url"; import { dirname } from "path"; const __filename = fileURLToPath(import.meta.url); const __dirname = dirname(__filename); await execute({ dir: dirname(__dirname) });