https://garden.io logo
#🤖|ask-kapa
how to set variables on the command line
# 🤖|ask-kapa
q

quaint-belgium-6566

02/21/2024, 6:18 PM
how to set variables on the command line
c

chilly-gigabyte-83853

02/22/2024, 10:45 AM
Hi @quaint-belgium-6566 you can set variables like the example below:
Copy code
# Override three specific variables value and run a task.
# Use dot notation to override nested variables
garden run my-run --var my-run-arg=foo,some-numeric-var=123,my-nested-vars.var1=bar
See https://docs.garden.io/using-garden/variables-and-templating#variable-files-varfiles for more details.