Yes, magic is OK if it's limited to offering good guidance.
So if you say:
apps: foo: command: <something>
Then snapcraft could fail with a helpful error, like:
App 'foo' specifies non-existent command executable. Perhaps try: command: path/to/samename/executable ?
Yes, magic is OK if it's limited to offering good guidance.
So if you say:
apps:
foo:
command: <something>
Then snapcraft could fail with a helpful error, like:
App 'foo' specifies non-existent command executable. Perhaps try: samename/ executable ?
command: path/to/