* fix getcommands.js
Fix parsing
don't overwrite source files but generate alternate file
* Fix comments so "getcommands.js" won't complain.
Hpoe I got descriptions right ...
* Some more comments to fill "qqq" fields ...
* Fix getcommands.js generatind fn-entries for registered commands
Fix all source files with wrong "NULL);" as fn
* add some more tests to getcommands.js to verify commands:
check filename of command
check fn called
some more fixes to documentation commands as result from above tests
* Fixed one typo in the battery commands, also added description for Map command.
* Generated the doc files to see if my changes worked.
* Sorted commands array to make it easier to find command information
* Fixed some command descriptions. Sorted commands in docs list.
* Fixed command sorting to be case-insensitive
* Removed extra comments on SendPost added by docs script.
can be run via
npm run getcommands
or
node scripts/getcommands.js
examines source for command registeration, moves stuff into comments and removes C strings..