adobe / adobe/aio-cli-plugin-runtime

Clean up numerous classnames

Open
#40 1 comment 0 reactions 0 assignees View on GitHub
enhancement good first issue help wanted
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

Open the contributing 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

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.