src/commands/inspect.js
function stateString(s) {
  switch (s) {
    case 'INITIALIZING':
      return chalk.yellow(s);

    case 'ERROR':
      return chalk.red(s);

    case 'READY':
      return s;

    default:
      return chalk.gray('UNKNOWN');
  }
}
function stateString(s) {
  switch (s) {
    case 'INITIALIZING':
      return chalk.yellow(s);

    case 'ERROR':
      return chalk.red(s);

    case 'READY':
      return s;

    default:
      return chalk.gray('UNKNOWN');
  }
}
function stateString ( s ) { switch ( s ) { case 'INITIALIZING' : return chalk . yellow ( s ) ; case 'ERROR' : return chalk . red ( s ) ; case 'READY' : return s ; default : return chalk . gray ( 'UNKNOWN' ) ; } }
renders the state string
renders the state string