libero/cli/new
libero new — scaffold a new Libero project at the given path.
Values
pub fn scaffold(
path path: String,
database database: option.Option(cli.Database),
) -> Result(Nil, String)
Scaffold a new project under path.
The project name is derived from the last segment of the path (e.g. “tmp/test_app” → “test_app”).
Creates the directory tree and writes starter source files so the project compiles and runs out of the box. nolint: stringly_typed_error – CLI module, String errors are user-facing messages