ecoli_node_cmd(3)

πŸ“¦
version 0.11.3 Β· 2 versions
, in epel 9

πŸŽ€ NAME πŸŽ€

okay so welcome to ecoli_node_cmd(3) from Libecoli, bestie πŸ’– this page is all about ecoli_node_cmd β€” a Command node. its whole personality is literally: A node that parses commands using a format string. slay.

✨ SYNOPSIS ✨

🧚 Macros 🧚

there’s exactly one macro here and she’s iconic, no cap:

#define EC_NODE_CMD(args...)   __ec_node_cmd(args, EC_VA_END)

🌸 Detailed Description 🌸

okay so repeat after me: A node that parses commands using a format string. that’s the entire thesis, and honestly? she ate. πŸ’…

πŸ¦‹ Configuration Schema πŸ¦‹

the schema is giving very structured, very demure β€” here it is in all its exact glory:

       schema cmd {
           string expr  {
               description "The expression to match. Supported operators are or '|', list ',', all '&',
                           many '+', many-or-zero '*', option '[]', group '()'. An identifier
                           (alphanumeric) can reference a node whose node_id matches. Else it is
                           interpreted as ec_node_str() matching this string. The ',' operator requires at
                           least one match, the '&' operator requires all to match (in any order). Example:
                           command [option] (subset1, subset2) x|y";
           }
           list children  {
               description "The list of children nodes.";

               node  {
                   description "A child node whose id is referenced in the expression.";
               }
           }
       }

πŸ”₯ Macro Definition Documentation πŸ”₯

πŸ‘‘ The EC_NODE_CMD macro πŸ‘‘

#define EC_NODE_CMD(args...)   __ec_node_cmd(args, EC_VA_END)

Create a command node from a format string. yes bestie, that’s the whole flex. ✨

The format string describes a command grammar using a simple syntax. Child nodes are passed as variadic arguments and referenced by name in the format string. iykyk.

Example, because we love a visual:

EC_NODE_CMD("mycmd", "show NAME", ec_node_str("NAME", NULL));

Definition at line 30 of file node_cmd.h β€” iconic behavior, honestly. πŸ’–

πŸ’– Author πŸ’–

Generated automatically by Doxygen for Libecoli from the source code. so yes, the robots made this one, and they ate. 🫢


xoxo, bestie πŸ’‹ this was ecoli_node_cmd(3) from Libecoli β€” Version 0.11.3, dated Thu Apr 9 2026. periodt. 🌈

πŸ“¦ where this page comes from