* Added cligen variable translation.
* See FAQ and example
This commit is contained in:
parent
b230215eaf
commit
cfe4702069
6 changed files with 65 additions and 1 deletions
|
|
@ -3,6 +3,11 @@ CLICON_MODE="example";
|
|||
CLICON_PROMPT="%U@%H> ";
|
||||
CLICON_PLUGIN="example_cli";
|
||||
|
||||
# Translate variable "value" by incrementing its characters
|
||||
translate value (<value:string translate:incstr()>),cli_set("/translate/value");
|
||||
|
||||
|
||||
|
||||
# Note, when switching to PT, change datamodel to only @datamodel
|
||||
set @datamodel:example, cli_set();
|
||||
merge @datamodel:example, cli_merge();
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue