pub fn record(workspace: &Workspace, found: &Found) -> Result<Vec<String>>Expand description
Write the new app to both files: .env is what compose reads, and
run.config.toml is what init rewrites .env from. Writing one alone means
the next init --update either misses it or drops it.
Listing the app is not enough - it also needs the port and command every other app in the file has. An app already listed but missing either is completed rather than refused, so a half-written entry converges.