Skip to main content

record

Function record 

Source
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.

The list alone is not enough - an app also needs the port and command every other app in the file has.