Adds multiple variables to args.vars. Variables can be:
args.vars
tasks: [{ handler: 'add-vars', params: { vars: { prop1: 'changes the args.vars.prop1', 'obj1.prop2': 'creates an object obj1 in vars, set prop2', 'over.about.blue': 'creates obj over.about.sets prop blue', }, }}] Copy
tasks: [{ handler: 'add-vars', params: { vars: { prop1: 'changes the args.vars.prop1', 'obj1.prop2': 'creates an object obj1 in vars, set prop2', 'over.about.blue': 'creates obj over.about.sets prop blue', }, }}]
Optional
If true and textual value starts with =, it will compute the expression.
=
false Copy
false
If false, it won't overwrite the previous value.
true Copy
true
Object with name: value of all the variables to add to args.vars.
Adds multiple variables to
args.vars. Variables can be:Example