diff --git a/cli/cli.mjs b/cli/cli.mjs index f46856e0..1c0fd092 100755 --- a/cli/cli.mjs +++ b/cli/cli.mjs @@ -1,11 +1,14 @@ +#!/usr/bin/env node + import { execSync } from 'child_process' import { resolve } from 'path' import { fileURLToPath } from 'url' execSync( - `node --loader ts-node/esm/transpile-only ${resolve(fileURLToPath(import.meta.url), '../src/cli.ts')} ${process.argv - .slice(2) - .join(' ')}`, + `node --loader ts-node/esm/transpile-only ${resolve( + fileURLToPath(import.meta.url), + '../src/cli.ts', + )} ${process.argv.slice(2).join(' ')}`, { stdio: 'inherit', }, diff --git a/cli/src/cli.ts b/cli/src/cli.ts index edde745b..360f9cd7 100644 --- a/cli/src/cli.ts +++ b/cli/src/cli.ts @@ -1,3 +1,5 @@ +#!/usr/bin/env node + import { Cli } from 'clipanion' import { ArtifactsCommand } from './commands/artifacts.js'