How to use the warn function from cli

Find comprehensive JavaScript cli.warn code examples handpicked from public code repositorys.

60
61
62
63
64
65
66
67
68
69
        cmd += '! queue ! omxh264enc bitrate=' + options.bitrate + ' ! mp4mux ! queue ! filesink location=' + options.filename + '-' + cameraInfo.name.replace(/ /g, '') + '.mp4';
    cli.info(cmd)
    defer.resolve(cmd);
  }
  else {
    cli.warn('Unknown Camera ' + camera +'. Register in knownCameras.json');
    defer.resolve(undefined);
  }
});
gstCommands.push(defer.promise);
fork icon1
star icon4
watch icon8

+ 3 other calls in file