Skip to manual
gluon

CLI reference

gluon lock

Write gluon.lock: each dependency resolved to an exact version and content hash.

Model author or developer

Usage

Run it as gluon lock (in the repository, cargo run -p gluon-cli -- lock).

Console / text
Write gluon.lock: each dependency resolved to an exact version and content hash

Usage: gluon lock <PATH>

Arguments:
  <PATH>

Options:
  -h, --help  Print help

What it reads and writes

It writes gluon.lock into the package folder, replacing any lock already there. Each dependency gets an exact version and a SHA-256 content hash. Only gluon/std resolves today, so any other dependency stops the command with missing-dependency. It needs no database.

gluon lock resolving Contoso's dependencies.
gluon lock resolving Contoso's dependencies.