env command
This commit is contained in:
parent
2097e37c58
commit
9f5b003bb7
14
app/nose/bin/env.ts
Normal file
14
app/nose/bin/env.ts
Normal file
|
|
@ -0,0 +1,14 @@
|
||||||
|
import { NOSE_STARTED, NOSE_SYS, NOSE_DIR } from "@/config"
|
||||||
|
|
||||||
|
export default function () {
|
||||||
|
return [
|
||||||
|
`NODE_ENV=${process.env.NODE_ENV || "(none)"}`,
|
||||||
|
`BUN_HOT=${process.env.BUN_HOT || "(none)"}`,
|
||||||
|
`PORT=${process.env.PORT || "(none)"}`,
|
||||||
|
`USER=${process.env.USER || "(none)"}`,
|
||||||
|
`PWD=${process.env.PWD || "(none)"}`,
|
||||||
|
`NOSE_STARTED=${NOSE_STARTED}`,
|
||||||
|
`NOSE_SYS=${NOSE_SYS}`,
|
||||||
|
`NOSE_DIR=${NOSE_DIR}`
|
||||||
|
].join("\n")
|
||||||
|
}
|
||||||
Loading…
Reference in New Issue
Block a user