More complex example of using test-module
This commit is contained in:
parent
388827a636
commit
aef76cc701
1 changed files with 16 additions and 0 deletions
|
@ -33,6 +33,22 @@ Example:
|
|||
|
||||
This is a good way to insert a breakpoint into a module, for instance.
|
||||
|
||||
For more complex arguments such as the following yaml:
|
||||
|
||||
```yaml
|
||||
parent:
|
||||
child:
|
||||
- item: first
|
||||
val: foo
|
||||
- item: second
|
||||
val: boo
|
||||
```
|
||||
|
||||
Use:
|
||||
|
||||
$ ./hacking/test-module -m module \
|
||||
-a "{"parent": {"child": [{"item": "first", "val": "foo"}, {"item": "second", "val": "bar"}]}}"
|
||||
|
||||
Module-formatter
|
||||
----------------
|
||||
|
||||
|
|
Loading…
Reference in a new issue