gobj_build_cmds_doc()#
gobj_build_cmds_doc() generates a JSON-formatted documentation of available commands for a given hgobj.
Prototype
json_t *gobj_build_cmds_doc(
hgobj gobj,
json_t *kw
);
Parameters
Key |
Type |
Description |
|---|---|---|
|
|
The |
|
|
A JSON object containing optional parameters such as |
Return Value
A JSON string containing the formatted documentation of available commands. If a specific command is requested and found, its detailed documentation is returned. If the command is not found, an error message is returned.
Notes
If level is set, gobj_build_cmds_doc() will also include commands from child objects of the given hgobj.
Prototype
// Not applicable in JS
Prototype
# Not applicable in Python
Examples
// TODO C examples
// TODO JS examples
# TODO Python examples