Files
bare-operating-system/packages/bare-os-seeder/kernel/bin/env
T
Raven Scott c337a8aaa6
CI / test (push) Failing after 4m57s
updates
2026-04-02 22:43:46 -04:00

12 lines
331 B
Plaintext

/** Shared helpers for drive-resident /bin scripts (prepended before each command). */
function bareStdin(ctx) {
return typeof ctx.shellStdin === 'string' ? ctx.shellStdin : ''
}
async function run(ctx, argv) {
const e = ctx.vfs.env
for (const k of Object.keys(e).sort()) {
ctx.console.log(k + '=' + (e[k] ?? ''))
}
}