trueblocks-core icon indicating copy to clipboard operation
trueblocks-core copied to clipboard

code gen: use the handler field

Open tjayrush opened this issue 1 year ago • 0 comments

We have a field called handler in the command line data.

Currently, we use it to order the handlers in the output.go file, but it can be used elsewhere. It actually could serve as an "importance" marker and be used to order two other things:

  1. The help text
  2. The API documents

The sort order would be:

order by handler then order in list of commands.

Currently for the two things mentioned above we only order by the item's order of appearance in teh data file.

tjayrush avatar Aug 23 '24 14:08 tjayrush