It would be possible to use our existing help structure to build man pages from the help text, though someone would need to implement that support.
It is certainly plausible to do, and I thought at one point we had done that in the past. Maybe we stopped because 'snap install juju' was no longer populating man pages for 'man juju' to work?
It seems that it may or may not be working. The bug is still not 'Fixed' but the last comment on the page seems to think that content in /snap/man should end up in man pages (sometime in bionic).
It is mostly a question of effort.
Note that none of the snaps that I have installed (that I can find) have man pages that work.
man snap works, but that is /usr/bin/snap
man snapd, man charm, man charmcraft, man go, man juju, man lxd, man microk8s, man ripgrep, man snapcraft, man snapd
None of them have man pages, which leads me to believe that bug #1575593 is fixed.
It would be possible to use our existing help structure to build man pages from the help text, though someone would need to implement that support.
It is certainly plausible to do, and I thought at one point we had done that in the past. Maybe we stopped because 'snap install juju' was no longer populating man pages for 'man juju' to work?
Looking here: /bugs.launchpad .net/snapd/ +bug/1575593
https:/
It seems that it may or may not be working. The bug is still not 'Fixed' but the last comment on the page seems to think that content in /snap/man should end up in man pages (sometime in bionic).
It is mostly a question of effort.
Note that none of the snaps that I have installed (that I can find) have man pages that work.
man snap works, but that is /usr/bin/snap
man snapd, man charm, man charmcraft, man go, man juju, man lxd, man microk8s, man ripgrep, man snapcraft, man snapd
None of them have man pages, which leads me to believe that bug #1575593 is fixed.