gcode: expose status with available commands

Signed-off-by: Pedro Lamas <pedrolamas@gmail.com>
This commit is contained in:
Pedro Lamas 2023-11-06 15:06:36 +00:00 committed by KevinOConnor
parent 2c2bb720fa
commit 6676c1df86
2 changed files with 19 additions and 0 deletions

View file

@ -168,6 +168,12 @@ The following information is available in the
module. These settings may differ from the config file if a
`SET_RETRACTION` command alters them.
## gcode
The following information is available in the `gcode` object:
- `commands`: Returns a list of all currently available commands. For each
command, if a help string is defined it will also be provided.
## gcode_button
The following information is available in