Open MrDevel0per opened 1 year ago
This is available with ArgumentParser: apple/swift-argument-parser#332. Should we impliment it?
Worth noting here that
Man pages have a long and strong tradition as being the primary source of documentation for a command line program, a protocol, a library function, etc.
In contrast to the usually brief help with regards to the syntax of a tool, they‘re supposed to cover much more information.
... But that might not be the case anymore. this is from the link above.
Completed and in testing. Will link commit soon.
Is your feature request related to a problem? Please describe. Yes - somewhat. When running
man ally
, we get the error:It's worth noting that this may come from ally not being in PATH, but instead being an alias. An issue for this discussion will be created soon.
Describe the solution you'd like According to https://forums.swift.org/t/when-to-use-swiftpm-plugin-for-generating-man-pages/59010, we should be able to generate a
man
page - maybe in a Build Step? Then, when runningman ally
, we should see the following output:Describe alternatives you've considered
ally help
andally help SUBCOMMAND
, as well as the normal help variations, already provide useful info. We do need to improve the command docs (again, this will be in a soon-to-create issue), but this functionality is already somewhat available, just not withman
.