Skip to content

bl var

Manage reusable command and snippet variables

Manage reusable variables stored in boiler.conf.json.

Usage patterns:

  • bl var List all variables
  • bl var name=value Set or update a variable
  • bl var name Get one variable value
  • bl unvar name Remove a variable (use 'unvar' command)

Variables can be used inline in ANY command using the bl__VAR_NAME syntax:

  • When Boiler encounters bl__VAR_NAME in an argument, it replaces it with the variable's value.
  • Useful for dynamic paths, URLs, and registry configurations.

Examples:

bl var [name|name=value] [flags]
-h, --help help for var
--global Force global scope for this command
--local Force local scope for this command
-V, --verbose Enable verbose debug output