near / near-cli

General purpose command line tools for interacting with NEAR Protocol
https://docs.near.org
MIT License
193 stars 93 forks source link

feat: store view and call result to file #965

Open kalloc opened 2 years ago

kalloc commented 2 years ago

It would be very useful for bash scripting.

Example usage:

$ ./bin/near call REDACTED  nft_mint '{…REDACTED…}' --accountId REDACTED --deposit 1 -o 1.json >/dev/null ; cat 1.json | jq .token_id
"16"