Revision 20533c4d
Added by Marc Dequènes over 13 years ago
- ID 20533c4dccb0cbb6da9f4689975523e16763f2ba
bin/test_client | ||
---|---|---|
set_user "guihome"
|
||
set_preferred_locales "fr"
|
||
#ask "Clerk", :dns_info, "/Commands/DNS/INFO"
|
||
ask "Clerk", :dns_info, "/Batch/taiste"
|
||
# ask "Clerk", :dns_info, "/Batch", {
|
||
# :commands => [
|
||
# ["DNS", "INFO"]
|
||
# # ["DNS", "INFO"]
|
||
# ]
|
||
# }
|
||
ask "Clerk", :super_batch, "/Batch", {
|
||
:commands => [
|
||
["DNS", "INFOZZZ"],
|
||
["DNS", "INFO"]
|
||
],
|
||
:references => {},
|
||
:options => {:stop_on_error => false}
|
||
}
|
||
on_error do
|
||
puts "PLOUF"
|
||
pp errors
|
Also available in: Unified diff
[evol] Clerk: implement batch command execution (error handling needs to
be polished)