Pattern mismatch in the app._app_name_.command property

Got this error:

Sorry, an error occurred in Snapcraft:
Failed to generate snap metadata: The specified command '/usr/bin/less README.markdown' defined in the app 'readme' does not match the pattern expected by snapd.
The command must consist only of alphanumeric characters, spaces, and the following special characters: / . _ # : $ -

The strange thing is that /usr/bin/less README.markdown doesn’t seem to mismatch the pattern of alphanumeric characters, spaces, and the following special characters: / . _ # : $ -

The recipe: https://paste.ubuntu.com/p/7ZbtmjGC4m/
The code repository of the recipe: https://github.com/Lin-Buo-Ren/Clean-Filter-for-SVG

Any ideas?

Try dropping the leading /, eg. usr/bin/less $SNAP/README