This PR add a .help [command/alias] command which lists all commands, a description of the command, and how to use it with an example. You can give the command the name of a particular command to only see its information.
Implementation
The command uses reflection to get all methods and their Command, Alias, Summary and Remarks attributes. This means you don't need to update some lookup table when adding a new command.
What does this PR add?
This PR add a
.help [command/alias]
command which lists all commands, a description of the command, and how to use it with an example. You can give the command the name of a particular command to only see its information.Implementation
The command uses reflection to get all methods and their
Command
,Alias
,Summary
andRemarks
attributes. This means you don't need to update some lookup table when adding a new command.