考虑改为单个 command 支持更多配置项,避免只能设置全局的 options
Open
disscuss
- Dominant language
- Java
- Stars
- 37.6k
- Forks
- 7.6k
- Avg merge
- 1d 22h
- Merged PRs (30d)
- 4
Description
比如像 json-format 这种配置,可能每次执行命令时都要指定,并不是只能全局配置。
另外,像 `options json-format` ,这种配置是否应该更通用一点。 叫 `object-format` ? 可能值是 `json`, `plain` 。 类似http api结果。
Contributor guide
Research direction
Start by reviewing Arthas command option handling and the existing `options json-format` entry point. Determine how command-specific configuration should coexist with global options, and clarify whether the setting should be renamed to `object-format` with `json` and `plain` values. Done means the scope and command behavior are agreed and covered by relevant tests.
Written by the indexing model from the issue text.
Assessment
- Tech stack
- java
- Domain
- cli, tooling
- Issue type
- Feature
- Difficulty
- 5/5
- Estimated time
- Over a week
- Activity status
- Stale
- Clarity
- Needs clarification
- Newbie friendliness
- 25/100