Hi
I can’t find any documentation on how to use the ghost config [key] [value]
command to set multilevel keys and set lists as value.
I want to get this:
(...)
"mail": {
"transport": "Direct",
"from": "My Mail <my-mail@example.com>",
"options": {
"host": "localhost",
"port": 25,
"service": "email",
"secure": true,
"auth": {
'user": "smtpuser",
"pass": "smtppass"
}
}
},
"logging": {
"transports": [
"file",
"stdout"
]
},
(...)
I’ve been playing around with the command and I think I’ve discovered that multi-level keys can be set using the ‘.’. For example
ghost config "mail.options.host" "localhost"
But I haven’t figured out how I can pass a list as a value to it for “logging.transports”
Does anyone know what it would look like? Is there any documentation?
Thank you in advance.