adobe / adobe/aio-cli-plugin-runtime

Clean up numerous classnames

未关闭
#40 1 条评论 0 个 reaction 已指派 0 人 在 GitHub 查看
enhancement good first issue help wanted
主要语言
JavaScript
星标
21
派生
33
PR 合并指标
30 天内没有已合并 PR

描述

All commands define their own classname even though it is not visible to other code.

example from `commands/runtime/action/create.js`
```
class ActionCreate extends RuntimeBaseCommand {
}
...
module.exports = ActionCreate
```

Ideally these should all just be `Command` or something generic, and they should all be the same, much like the way the tests all specify the commands they are testing with : `const TheCommand = require('..`

贡献指南

打开贡献指南

调研方向

从 commands/runtime/action/create.js 开始,比较 commands 目录中各处的命令类声明。检查测试中将通用的必需命令赋给本地名称的模式,然后找出所有仅属于其模块的命令类名。完成的标准是命令类使用一致的通用名称,同时不改变命令行为。

由索引模型根据 Issue 内容生成。

评估

技术栈
javascript
领域
cli
Issue 类型
重构
难度
3/5
预计耗时
1-2 天
活跃度
停滞
描述清晰度
基本清楚
新手友好度
45/100

把新 issue 发到你的邮箱

精选适合新手参与的 GitHub issue 摘要。