import { program } from 'commander'; import { esMain } from './utils/esmain'; type RunOptions = { template?: string; }; // Get sandbox directory from template name // replace '/' by a '-' async function run({ template }: RunOptions) { console.log(template.replace('/', '-')); } if (esMain(import.meta.url)) { program .description('Retrieve the sandbox directory for template name') .option('--template