INNER CODE UNIT · TypeScript

execpnoerr

MauriceNino/dashdot · apps/cli/src/index.ts:10

const execpnoerr = async (cmd: string) => {
  return execp(cmd)
    .then(({ stdout }) => stdout.trim())
    .catch(() => '');
};

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(

View source record →

📰 Research Paper
Loading…
⏳ Fetching content…