Move.

帖子

分享您的知识。

DRAMA.
Jan 28, 2025
专家问答

How to get JSON output from a CLI tool for parsing?

I'm working with a standard CLI tool, but the output contains many boxes and lines, making it hard to parse for the results I care about. Is there an official way to get a JSON output or something similar that I can easily parse?

  • Move CLI
2
1
分享
评论
.

答案

1
doodee.
Jan 29 2025, 03:21

--json如果可用,您可以使用该选项. 它以 JSON 格式返回更易于解析的命令输出.

2
评论
.

你知道答案吗?

请登录并分享。

Move is an executable bytecode language used to implement custom transactions and smart contracts.

148帖子231答案
Sui.X.Peera.

赚取你的 1000 Sui 份额

获取声誉积分,并因帮助 Sui 社区成长而获得奖励。

奖励活动七月