libero/cli/add
libero add — scaffold a new client inside an existing Libero project.
Values
pub fn add_client(
project_path path: String,
name name: String,
target target: String,
) -> Result(Nil, String)
Add a client named name with the given target to the project at path.
Creates <path>/clients/<name>/src/ and writes a starter app file only
when the src directory contains no files yet. Generates a gleam.toml
for the client package if missing. Appends the [libero.clients.<name>]
section to the root gleam.toml only when that section is absent.
nolint: stringly_typed_error – CLI module, String errors are user-facing messages