Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
feat: dfx call random value when argument is not provided (#1376)
```
$ dfx canister call test greet
Unspecified argument, sending the following random argument:
("]44-eR@H")
("Hello, ]44-eR@H!")
$ dfx canister call test greet --random '{ text = Some "emoji", width = Some 10 }'
Unspecified argument, sending the following random argument:
("🟥🝶🦖🎣🜦🐤🍤🦟🏫🐡")
("Hello, 🟥🝶🦖🎣🜦🐤🍤🦟🏫🐡!")
$ dfx canister call test greet --random '{ text = Some "name" }'
Unspecified argument, sending the following random argument:
("Citlalli Ullrich")
("Hello, Citlalli Ullrich!")
```
Fix dfinity/dx-triage#41
- Loading branch information