Skip to content

Conversation

internet-catte
Copy link
Contributor

this does not work, or even compile yet, but I wanted some advice/guidance.

my plan here is:

  1. document commands as doc comments
  2. grab the doc comment
  3. and store it somewhere (where?)
  4. return that for HELP cmd

Right now i've achieved 1 and 2, and have the mechanism of 4 mapped out, so the big question is how to link things up.

A similar method could be used for services help, but because of the limitations of HELP (topics can only be one word), this would have to be done in the typical services way (NS HELP subcmd, CS HELP subcmd). This might be doable in this PR once the details are ironed out.

Listing help topics is pretty straightforward, just get all the help topics and print them out. I've done it chunked to have something similar to solanum's output.

now supports aliases and restricted commands, captures docs
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant