Skip to main content

CLI options

Global options

OptionTypeDefaultDescription
-E, --envstringToStringset env variable for running command KEY=VALUE (default [])
--allboolfalseshow all commands (include hidden commands which start with _)
--initboolfalsecreates a new lets.yaml in the current folder
--onlystringArrayrun only specified command(s) described in cmd as map
--excludestringArrayrun all but excluded command(s) described in cmd as map
--no-dependsboolfalseskip 'depends' for running command
-c, --configstringlets.yamlspecify config
-d, --debugboolfalseverbose logs
-h, --helphelp for lets
-v, --versionversion for lets

Upgrade the lets binary with lets self upgrade. Use lets self upgrade --pre to opt into the latest prerelease.

Migrate deprecated config syntax with lets self fix. Use lets self fix --dry-run to print migrated config content before writing files.