Closed NicolasMahe closed 5 years ago
I think command is a better name because we're actually setting what command should be run on start of service's container. args word does not explain enough about the actual behavior.
Actually it’s not the command we want to run but the arguments that will be pass to the command. Docker already offer both, command and args options. I don’t know why, but the implementation mixed it up. We could actually offer both command and args parameter in the mesg.yml.
The property
command
in themesg.yml
should be renamed toarguments
because it is send to Docker API in the Args:https://github.com/mesg-foundation/core/blob/3f76f8b5a5115035033adecd580a6ba648d8a121/service/start.go#L82