DevChatterBot icon indicating copy to clipboard operation
DevChatterBot copied to clipboard

Command metadata

Open jdphenix opened this issue 6 years ago • 1 comments

Command metadata should be made discoverable.

Commands should specify their parameters (expected types), operators, expected user roles, etc. and set up a data structure to be queryable by other systems later, i.e. generating help text that outputs the expected arguments and necessary user role.

This metadata should keep all data necessary to successfully invoke all the command's options, including handling dispatching based upon arguments provided.

jdphenix avatar Apr 10 '18 19:04 jdphenix

I'm intending to do something kinda like this on stream, but it'll take a slightly different approach.

benrick avatar Apr 11 '18 17:04 benrick