/* Socket Lib - Built with esbuild */
var l=Object.defineProperty;var c=Object.getOwnPropertyDescriptor;var d=Object.getOwnPropertyNames;var f=Object.prototype.hasOwnProperty;var g=(e,r)=>{for(var o in r)l(e,o,{get:r[o],enumerable:!0})},b=(e,r,o,n)=>{if(r&&typeof r=="object"||typeof r=="function")for(let s of d(r))!f.call(e,s)&&s!==o&&l(e,s,{get:()=>r[s],enumerable:!(n=c(r,s))||n.enumerable});return e};var y=e=>b(l({},"__esModule",{value:!0}),e);var m={};g(m,{COMMON_FLAGS:()=>O,getLogLevel:()=>p,isAll:()=>F,isChanged:()=>h,isCoverage:()=>A,isDebug:()=>t,isDryRun:()=>x,isFix:()=>v,isForce:()=>V,isHelp:()=>I,isJson:()=>w,isQuiet:()=>u,isStaged:()=>q,isUpdate:()=>S,isVerbose:()=>i,isWatch:()=>j});module.exports=y(m);const a=[...process.argv];function p(e){return u(e)?"silent":t(e)?"debug":i(e)?"verbose":"info"}function F(e){return e?Array.isArray(e)?e.includes("--all"):!!e.all:a.includes("--all")}function h(e){return e?Array.isArray(e)?e.includes("--changed"):!!e.changed:a.includes("--changed")}function A(e){return e?Array.isArray(e)?e.includes("--coverage")||e.includes("--cover"):!!(e.coverage||e.cover):a.includes("--coverage")||a.includes("--cover")}function t(e){return e?Array.isArray(e)?e.includes("--debug"):!!e.debug:a.includes("--debug")}function x(e){return e?Array.isArray(e)?e.includes("--dry-run"):!!e["dry-run"]:a.includes("--dry-run")}function v(e){return e?Array.isArray(e)?e.includes("--fix"):!!e.fix:a.includes("--fix")}function V(e){return e?Array.isArray(e)?e.includes("--force"):!!e.force:a.includes("--force")}function I(e){return e?Array.isArray(e)?e.includes("--help")||e.includes("-h"):!!e.help:a.includes("--help")||a.includes("-h")}function w(e){return e?Array.isArray(e)?e.includes("--json"):!!e.json:a.includes("--json")}function u(e){return e?Array.isArray(e)?e.includes("--quiet")||e.includes("--silent"):!!(e.quiet||e.silent):a.includes("--quiet")||a.includes("--silent")}function q(e){return e?Array.isArray(e)?e.includes("--staged"):!!e.staged:a.includes("--staged")}function S(e){return e?Array.isArray(e)?e.includes("--update")||e.includes("-u"):!!e.update:a.includes("--update")||a.includes("-u")}function i(e){return e?Array.isArray(e)?e.includes("--verbose"):!!e.verbose:a.includes("--verbose")}function j(e){return e?Array.isArray(e)?e.includes("--watch")||e.includes("-w"):!!e.watch:a.includes("--watch")||a.includes("-w")}const O={all:{type:"boolean",default:!1,description:"Target all files"},changed:{type:"boolean",default:!1,description:"Target changed files"},coverage:{type:"boolean",default:!1,description:"Run with coverage"},cover:{type:"boolean",default:!1,description:"Run with coverage (alias)"},debug:{type:"boolean",default:!1,description:"Enable debug output"},"dry-run":{type:"boolean",default:!1,description:"Perform a dry run"},fix:{type:"boolean",default:!1,description:"Automatically fix issues"},force:{type:"boolean",default:!1,description:"Force the operation"},help:{type:"boolean",default:!1,short:"h",description:"Show help"},json:{type:"boolean",default:!1,description:"Output as JSON"},quiet:{type:"boolean",default:!1,short:"q",description:"Suppress output"},silent:{type:"boolean",default:!1,description:"Suppress all output"},staged:{type:"boolean",default:!1,description:"Target staged files"},update:{type:"boolean",default:!1,short:"u",description:"Update snapshots/deps"},verbose:{type:"boolean",default:!1,short:"v",description:"Verbose output"},watch:{type:"boolean",default:!1,short:"w",description:"Watch mode"}};0&&(module.exports={COMMON_FLAGS,getLogLevel,isAll,isChanged,isCoverage,isDebug,isDryRun,isFix,isForce,isHelp,isJson,isQuiet,isStaged,isUpdate,isVerbose,isWatch});
//# sourceMappingURL=flags.js.map
