adobe / adobe/aio-cli-plugin-runtime
Clean up numerous classnames
- Dominant language
- JavaScript
- Stars
- 21
- Forks
- 33
- PR merge metrics
- No merged PRs in 30d
Description
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('..`
Contributor guide
Research direction
Start with commands/runtime/action/create.js and compare the command class declarations across the commands directory. Review the tests' pattern of assigning a generic required command to a local name, then identify all command classnames that are private to their modules. Done means the command classes use a consistent generic name without changing command behavior.
Written by the indexing model from the issue text.
Assessment
- Tech stack
- javascript
- Domain
- cli
- Issue type
- Refactor
- Difficulty
- 3/5
- Estimated time
- 1-2 days
- Activity status
- Stale
- Clarity
- Mostly clear
- Newbie friendliness
- 45/100