Refactor of cli show commands:

- Changed `cli_show_config()`
- Removed `cli_show_config_state()`
- Replaced `cli_auto_show()` with `cli_show_auto_mode()`
This commit is contained in:
Olof hagsand 2022-09-15 17:42:57 +02:00
parent 9a224ea4a0
commit a6f67755b3
32 changed files with 706 additions and 746 deletions

View file

@ -153,7 +153,7 @@ set @datamodel, cli_set();
commit("Commit the changes"), cli_commit();
quit("Quit"), cli_quit();
show("Show a particular state of the system"){
configuration("Show configuration"), cli_show_config("candidate", "text", "/");
configuration("Show configuration"), cli_show_config("candidate", "text");
version("Show version"), cli_show_version("candidate", "text", "/");
xpath("Show configuration") <xpath:string>("XPATH expression") <ns:string>("Namespace"), show_conf_xpath("candidate");
yang("Show yang specs"), show_yang(); {