MaaAssistantArknights / MaaAssistantArknights/maa-cli

关于 depot 功能的输出优化建议

Open
#397 1 comment 0 reactions 0 assignees View on GitHub

Nobody has claimed this yet.

enhancement
Dominant language
Rust
Stars
117
Forks
39
PR merge metrics
No merged PRs in 30d

Description

![Image](https://github.com/user-attachments/assets/b7601ccc-a3ce-480d-8b63-de2fe77818b5)
如上图所示,使用 depot 功能后,没有显示结果。

当然,使用 -v 可以显示结果,但同时有许多额外的细节显示出来,而且其中的识别结果显示了多次。

建议在 Summary 部分显示简洁的结果,形如:

```
{
"@type": "@penguin-statistics/depot",
"items": [
{
"have": 42,
"id": "31044",
"name": "精炼溶剂"
},
.....
]
}
```

另外,可以添加额外的参数,使识别结果保存在单独的文件中。

Contributor guide

No contributing guide indexed for this repository

First steps

  1. Read the whole issue, then the project's contributing guide.
  2. Comment on the issue to say you are picking it up — it saves two people doing the same work.
  3. Fork the repository and make your change on a branch.
  4. Open a pull request that references the issue number.

Research direction

Start by locating the depot feature's output handling and the Summary section. Compare normal output with -v output, then implement concise recognition results in Summary and assess the requested option for saving results separately. Done means the Summary shows the requested depot structure without repeated details and the separate output option works.

Written by the indexing model from the issue text.

Assessment

Tech stack
rust
Domain
cli
Issue type
Feature
Difficulty
3/5
Estimated time
1-2 days
Activity status
Stale
Clarity
Mostly clear
Newbie friendliness
35/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.