// NOSE developer feature.
//
// Show some debugging information.

import { NOSE_STARTED, NOSE_SYS_BIN, NOSE_DIR, GIT_SHA } 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_BIN=${NOSE_SYS_BIN}`,
        `NOSE_DIR=${NOSE_DIR}`,
        `GIT_SHA=${GIT_SHA.slice(0, 8)}`,
    ].join("\n")
}
