Open phgross opened 8 years ago
I suggest we call the script globalstatusmessage
and start with the minimal options: type
title
and message
.
The remaining question is how the scripts finds the zope instance. We can do it similar to ftw.upgrade.command, just looking for parts/*/etc/zope.conf
. This implies the script is run inside a buildout installation.
@joka I'd argue type
could default to info
.
So I probably wouldn't make it a required parameter.
And the Plone site will be an additional argument that's required. I'd suggest -s / --site
.
So I probably wouldn't make it a required parameter.
ok
It would be nice to set/create a message over the command line.