UNPKG

@codegenie/cli

Version:
16 lines (12 loc) 381 B
#!/usr/bin/env -S tsx import { config } from 'dotenv' import { resolve } from 'node:path' const dotenvEnv = process.env.DOTENV_ENV || 'development' config({ path: resolve(import.meta.dirname, `../.env.${dotenvEnv}.local`), }) async function main() { const { execute } = await import('@oclif/core') await execute({ development: true, dir: import.meta.url }) } await main()