Skip to content

[anolisa] feat(cli): implement anolisa adapter list 子命令 #812

@kongche-jbw

Description

@kongche-jbw

背景

#794 拆分。实现 adapter list 子命令,列出已安装的 adapters。

实现内容

  • installed.toml 状态文件中读取 ObjectKind::Adapter 对象
  • 表格化输出:组件名、框架、kind、状态、安装路径
  • 支持 --json 输出

相关文件

  • crates/anolisa-cli/src/commands/adapter.rs — CLI handler
  • crates/anolisa-core/src/state.rsObjectKind::Adapter 状态追踪

验收标准

  • anolisa adapter list 正常输出已安装 adapters 表格
  • anolisa adapter list --json 输出合法 JSON
  • 无已安装 adapter 时给出友好提示

Metadata

Metadata

Type

No type
No fields configured for issues without a type.

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions