INNER CODE UNIT · TypeScript
inspectObj
MauriceNino/dashdot · apps/cli/src/index.ts:16
const inspectObj = (obj: unknown): string => {
return inspect(obj, {
showHidden: false,
depth: null,
colors: true,
});
};
yargs(hideBin(process.argv))
.scriptName('yarn cli')
.usage('yarn cli command [options...]')
.command(
'info',
'show general information about your installation',
(yargs) => yargs,
async () => {
const isDocker = existsSync('/.dockerenv');
const isPodman = existsSync('/run/.containerenv');