/**
 * Minified by jsDelivr using Terser v5.39.0.
 * Original file: /npm/docker-loghose@1.6.5/loghose.js
 *
 * Do NOT use SRI with dynamically generated files! More information: https://www.jsdelivr.com/using-sri-with-dynamic-files
 */
#! /usr/bin/env node
var minimist=require("minimist"),loghose=require("./lib/loghose"),through=require("through2");function cli(){var e=minimist(process.argv.slice(2),{boolean:["json"],alias:{help:"h",json:"j",newline:"n"},default:{json:!1,newline:!1}});e.help&&(console.log("Usage: docker-loghose [--json] [--newline] [--help]\n                      [--nameLabel label]\n                      [--matchByImage REGEXP] [--matchByName REGEXP]\n                      [--skipByImage REGEXP] [--skipByName REGEXP]\n                      [--addLabels] [--labelsKey keyname] [--labelsMatch REGEXP]"),process.exit(1)),loghose({includeCurrentContainer:!1,nameLabel:e.nameLabel,matchByName:e.matchByName,matchByImage:e.matchByImage,skipByName:e.skipByName,skipByImage:e.skipByImage,addLabels:e.addLabels,labelsKey:e.labelsKey,labelsMatch:e.labelsMatch,newline:e.newline,json:e.json}).pipe(through.obj((function(e,a,s){this.push(JSON.stringify(e)),this.push("\n"),s()}))).pipe(process.stdout)}module.exports=loghose,require.main===module&&cli();
//# sourceMappingURL=/sm/482813e3e907c8f2f46e34c2b1292af1c7165b07c65dbe421fe37d9786762a70.map