frr/tests/lib/cli
David Lamparter 90c8406c20 lib: add ![...] syntax for easy "no" forms
This allows defining a CLI command like this:
  `[no] some setting ![VALUE]`
with VALUE being optional for the "no" form, but required for the
positive form.  It's just a `[...]` where the empty branch can only be
taken for commands starting with `no`.

Signed-off-by: David Lamparter <equinox@opensourcerouting.org>
2021-08-26 21:03:44 +02:00
..
.gitignore *: track version & "defaults" in configs 2017-03-28 19:18:42 +02:00
common_cli.c tests/lib/cli: allow using YANG modules 2021-07-06 01:44:35 +02:00
common_cli.h tests/lib/cli: allow using YANG modules 2021-07-06 01:44:35 +02:00
test_cli.c lib: add ![...] syntax for easy "no" forms 2021-08-26 21:03:44 +02:00
test_cli.in lib: add ![...] syntax for easy "no" forms 2021-08-26 21:03:44 +02:00
test_cli.py *: reformat python files 2020-10-07 17:22:26 -04:00
test_cli.refout.in lib: add ![...] syntax for easy "no" forms 2021-08-26 21:03:44 +02:00
test_commands.c lib: adapt to version 2 of libyang 2021-05-13 16:24:48 -04:00
test_commands.in tests: reorganize tests hierarchically 2017-02-13 16:54:48 +01:00
test_commands.py *: reformat python files 2020-10-07 17:22:26 -04:00
test_commands.refout tests: reorganize tests hierarchically 2017-02-13 16:54:48 +01:00