UNPKG

@lunora/cli

Version:

The Lunora CLI: init, dev, deploy, codegen, migrate, seed, doctor, insights, logs, registry, and the rest of the project commands

3 lines (2 loc) 331 B
import{createStderrLogger as r}from"./createLogger-hGafwf-3.mjs";const s=new Set(["json","pretty"]),i=(t,o)=>{if(o!==void 0&&!s.has(o))return`${t}: unknown --format "${o}" — expected pretty | json`},e=t=>t==="json",a=(t,o)=>e(t)?r():o,p=t=>{process.stdout.write(`${JSON.stringify(t,void 0,2)} `)};export{e as i,a as l,p,i as v};