Documented Clixon CLIgen usage and extensions

This commit is contained in:
Olof hagsand 2019-02-13 15:20:42 +01:00
parent ea8c84a372
commit 54626aaae4
4 changed files with 135 additions and 53 deletions

View file

@ -40,7 +40,7 @@ show("Show a particular state of the system"){
}
configuration("Show configuration"), cli_show_config("candidate", "text", "/");{
xml("Show configuration as XML"), cli_show_config("candidate", "xml", "/");{
@datamodel, cli_show_auto("candidate", "text");
@datamodel, cli_show_auto("candidate", "xml");
}
cli("Show configuration as CLI commands"), cli_show_config("candidate", "cli", "/");{
@datamodel, cli_show_auto("candidate", "cli");