UNPKG

@lunora/cli

Version:

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

2 lines (1 loc) 427 B
import{deployTargetIds as o,DEFAULT_DEPLOY_TARGET as n,resolveTargetOrThrow as s}from"@lunora/config";const a=(()=>{const r=o();return r.length>1?`${r.join(" | ")} (default ${n})`:r.join(" | ")})(),g={description:`Deploy target: ${a}. Also settable as "target" in lunora.json`,name:"target",type:String},i=(r,e)=>{try{return{target:s(r,e)}}catch(t){return{error:t instanceof Error?t.message:String(t)}}};export{g as T,i as r};