summaryrefslogtreecommitdiff
path: root/data
diff options
context:
space:
mode:
authorJohn Estabrook <jestabro@vyos.io>2025-12-18 12:36:56 -0600
committerGitHub <noreply@github.com>2025-12-18 12:36:56 -0600
commit0f36d5a2650238d3bbd2b5837ec51fc0c01962aa (patch)
treec1c340dc190d2595cc1e1ec8447f163ce56610b2 /data
parentf6c35930530cc72794a3f7c7488422ccb604b7fd (diff)
parentf58bfaa3487ef821466e35fbd2bb073732e889dd (diff)
downloadvyconf-0f36d5a2650238d3bbd2b5837ec51fc0c01962aa.tar.gz
vyconf-0f36d5a2650238d3bbd2b5837ec51fc0c01962aa.zip
Merge pull request #39 from jestabro/vyconf-completion-env
T8061: Add requests of analogues of cli-shell-api completion functions
Diffstat (limited to 'data')
-rw-r--r--data/vyconf.proto16
1 files changed, 16 insertions, 0 deletions
diff --git a/data/vyconf.proto b/data/vyconf.proto
index f45792a..6ba6e6a 100644
--- a/data/vyconf.proto
+++ b/data/vyconf.proto
@@ -189,6 +189,19 @@ message Request {
optional string file = 1;
}
+ message ReferencePathExists {
+ repeated string path = 1;
+ }
+
+ message GetPathType {
+ repeated string path = 1;
+ required bool legacy_format = 2;
+ }
+
+ message GetCompletionEnv {
+ repeated string path = 1;
+ required bool legacy_format = 2;
+ }
oneof msg {
Prompt prompt = 1;
@@ -229,6 +242,9 @@ message Request {
GetEditLevel get_edit_level = 36;
EditLevelRoot edit_level_root = 37;
ConfigUnsaved config_unsaved = 38;
+ ReferencePathExists reference_path_exists = 39;
+ GetPathType get_path_type = 40;
+ GetCompletionEnv get_completion_env = 41;
}
}