Update index.ts

This commit is contained in:
Corey Johnson 2026-01-13 16:06:45 -08:00
parent b8bff6f129
commit f5043fe701

View File

@ -43,7 +43,8 @@ export const globals: Record<string, any> = {
name: '',
path: '.',
},
} : {
}
: {
args: Bun.argv.slice(3),
argv: Bun.argv.slice(1),
env: process.env,
@ -53,7 +54,7 @@ export const globals: Record<string, any> = {
name: Bun.argv[2] || '(shrimp)',
path: resolve(join('.', Bun.argv[2] ?? '')),
},
}
},
// hello
echo: (...args: any[]) => {