From 6676c1df86e9cb9480b9dd98f77357f69d8ef0d8 Mon Sep 17 00:00:00 2001 From: Pedro Lamas Date: Mon, 6 Nov 2023 15:06:36 +0000 Subject: gcode: expose status with available commands Signed-off-by: Pedro Lamas --- docs/Status_Reference.md | 6 ++++++ 1 file changed, 6 insertions(+) (limited to 'docs/Status_Reference.md') diff --git a/docs/Status_Reference.md b/docs/Status_Reference.md index 5477049a..b64108ae 100644 --- a/docs/Status_Reference.md +++ b/docs/Status_Reference.md @@ -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 -- cgit v1.2.3-70-g09d2