cnos init
cnos init
Use regular mode first:
cnos initThat creates a flat .cnos/ tree with profiles.default: local.
Create workspace mode explicitly:
cnos init --mode workspaceThat creates:
.cnos/workspaces/base.cnosrc.ymlpointing to./.cnos.cnos-workspace.ymlwithworkspace: base
Create child workspaces during init:
cnos init --mode workspace --workspaces api,web,agentsThis creates base plus api, web, and agents, with each child extending base.
Notes
baseis the default shared workspace convention.localis the default profile.- If you already started in regular mode and later need multiple apps, use
cnos workspace enableinstead of reinitializing the repo.