Quick Start
Quick Start
Start with regular mode:
cnos initcnos value set app.name democnos value set server.port 3000cnos read value.app.namecnos build env --profile local --to .env.localcnos run -- node server.jsThat gives you one flat .cnos/ tree and profiles.default: local.
In app code:
import cnos from '@kitsy/cnos';
await cnos.ready();console.log(cnos('value.app.name'));When the repo grows into multiple apps or packages, convert it instead of duplicating .cnos:
cnos workspace enablecnos workspace add main --package-root apps/maincnos workspace add insights --package-root apps/insightscnos workspace listIf the repo still expects env files, keep CNOS as the source of truth and generate them:
cnos build env --profile local --to .env.localcnos dev env --profile local --to .env.local -- pnpm dev