Full reference for the Latitude CLI commands.
-p, --path <path>
to run against a specific directory (default .
), and --dev
to use a local Gateway.
latitude login
/LATITUDE_API_KEY
)projectId
)latitude-lock.json
latitude-lock.json
example:
-y
skips confirmation and applies changes.js
(ESM) or .cjs
(CJS) default-exporting a string.promptl
plain textrootFolder
-y
skips confirmation.ts
) are not supported for reading content; use .js
, .cjs
, .mjs
, or .promptl
latitude checkout <versionUuid>
: updates latitude-lock.json
and pulls that versionlatitude checkout -b <name>
: creates a new version and switches to itLATITUDE_API_KEY
is set (that variable takes precedence)-f/--force
to override without confirmationpackage.json
has "type": "module"
):