@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
JavaScript
import{createStderrLogger as r}from"./createLogger-BoSxdb2T.mjs";const e=new Set(["json","pretty"]),i=(t,o)=>{if(o!==void 0&&!e.has(o))return`${t}: unknown --format "${o}" — expected pretty | json`},s=t=>t==="json",d=(t,o)=>s(t)?r():o,p=t=>{process.stdout.write(`${JSON.stringify(t,void 0,2)}
`)};export{p as d,i,d as s,s as t};