https://snapcraft.io/docs/python-apps says that apps command path is automatically searches in the usr/sbin , usr/bin , sbin , and bin sub directories of your snap, but for my case of command in usr/bin it does not work. If I ommit usr/bin prefix snapcraft fails with
this has been true once but not for a long time … if you find such issues in any snapcraft documentation, scroll to the bottom of the doc, there is an “improve this document in the forum” link, that takes you to:
where you can report the issue in a comment to get the doc fixed …