Skip to content

对mcpp add命令优化建议 #324

Description

@tz12323

当前运行mcpp add xxx指令时,只会提示

mcpp add eui-neo@0.5.3
      Adding eui-neo v0.5.3 to dependencies

Run `mcpp build` to fetch and build with the new dependency.

并没有对包进行检查。
我提议,在运行mcpp add命令时,首先检查包是否存在,如存在则检查版本是否存在,不存在对应版本则报错并且提示可用版本。
如果没有指定版本,则跳出版本选择提示,供用户选择版本。
如果包不存在,则提示名称相近的包。

Metadata

Metadata

Assignees

Labels

No labels
No labels

Type

No type

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions