4 Commits

Author SHA1 Message Date
btsimonh
5ca60e0db4 Remove cmd help from code, insert as comments 2022-11-14 21:38:20 +00:00
btsimonh
35ce28386e Update to write two files, one user-centric, and one dev-centric.
Move the files to docs/
add documentation.
NOTE: This MODIFIES the source files to add comment lines if they do not exist.
2022-11-14 09:21:36 +00:00
btsimonh
0670c7a696 getcommands - add cmd description comments above CmdRegister if they don't exist.
Else use the cmd description line.
2022-11-14 08:20:01 +00:00
btsimonh
f499e0e321 add getcommands.js
This reads all .c files and searches for command registration.
It then creates a 'commands.md' file.
We could make it prettier - it's an example at the moment.
to run:
npm run getcommands
or
node scripts/getcommands.js

(cherry picked from commit aaa6cece404dfc094771c29d834e7c856a27e852)
2022-11-13 09:30:50 +00:00