Name | Type | Required | Default | Hint |
_ | string | false | Pass any number of property names in followed by the value to set | |
append | boolean | false | false | If setting an array or struct, set to true to append instead of overwriting. |
Set values set in box.json for this package. Command must be executed from the root
directory of the package where box.json lives.
set package name
package set name=myPackageNested attributes may be set by specifying dot-delimited names or using array notation.
package set repository.type=Gitset first testbox notify E-mail
package set testbox.notify.email[1]="brad@bradwood.com"Set multiple params at once
package set name=myPackage version="1.0.0" author="Brad Wood" slug="foo"Set complex value as JSON
package set testbox.notify.emails="[ 'test@test.com', 'me@example.com' ]"Structs and arrays can be appended to using the "append" parameter.
package set contributors="[ 'brad@coldbox.org' ]" --append