code: private void status(final String[] args) throws FileNotFoundException {
      setWorkingDir(args);
      final Path statusFile = this.workingDir.resolve(this.statusName);
      readStatus(true, statusFile);
      if (args.length > 2 && args[2].equalsIgnoreCase("verbose")) {
        System.out.println(this.status);
      } else {
        System.out.println(this.status.shortStatus());
      }
    }
docs: Prints the status of the node running in the configured working directory.