Overview
sutro.config.json links a local folder to a Sutro Project and Application. CLI commands that operate on a project, such as sutro dev, sutro validate, sutro publish, sutro status, and sutro openapi, read this file from the current working directory.
Create the file with:
File format
Example:entryFile must point to a file inside the project directory.
Creating config
Create a new Project and Application:Source upload behavior
When the CLI uploads SLang source, it sends:- The configured
entryFile. - Every
.slangfile under the project directory. - Paths relative to the project directory.
Multi-file projects
Local imports work with multi-file projects. For example:app.slang can import models.slang:
models.slang can define shared models:
sutro dev, sutro validate, or sutro publish, the CLI uploads both files.