diff options
| author | John Estabrook <jestabro@vyos.io> | 2023-05-01 11:05:47 -0500 |
|---|---|---|
| committer | John Estabrook <jestabro@vyos.io> | 2023-05-10 22:52:25 -0500 |
| commit | abc03517fe7784de951d930ba76f1bd7db5fe63b (patch) | |
| tree | 5ff2830c5c066927d98c161c83d52fcbaa335619 /src/reference_tree.mli | |
| parent | 68c84be87fd38c9f38ddd5ddf0a88cf4c5ff7ecb (diff) | |
| download | vyos1x-config-abc03517fe7784de951d930ba76f1bd7db5fe63b.tar.gz vyos1x-config-abc03517fe7784de951d930ba76f1bd7db5fe63b.zip | |
T5194: add completion_help
Diffstat (limited to 'src/reference_tree.mli')
| -rw-r--r-- | src/reference_tree.mli | 9 |
1 files changed, 8 insertions, 1 deletions
diff --git a/src/reference_tree.mli b/src/reference_tree.mli index baa2694..6d02093 100644 --- a/src/reference_tree.mli +++ b/src/reference_tree.mli @@ -9,12 +9,19 @@ type value_constraint = | External of string * string option [@name "exec"] [@@deriving yojson] +type completion_help_type = + | List of string [@name "list"] + | Path of string [@name "path"] + | Script of string [@name "script"] + [@@deriving yojson] + type ref_node_data = { node_type: node_type; constraints: value_constraint list; + constraint_error_message: string; + completion_help: completion_help_type list; help: string; value_help: (string * string) list; - constraint_error_message: string; multi: bool; valueless: bool; owner: string option; |
