Introduce customer alias fro org
Open
Nobody has claimed this yet.
enhancement
- Dominant language
- TypeScript
- Stars
- 8
- Forks
- 2
- Avg merge
- 13h 26m
- Merged PRs (30d)
- 35
Description
In the API the resources and the properties of resources use the wording customer instead of org. During extension development it happens often that I switch between API context and CLI context. I always have to remember to use org in the CLI.
Describe the solution you'd like
Add customer alias for all the org commands
mw org *
mw customer *
mw context set --org-id ...
mw context set --customer-id ...
...
Contributor guide
First steps
- Read the whole issue, then the project's contributing guide.
- Comment on the issue to say you are picking it up — it saves two people doing the same work.
- Fork the repository and make your change on a branch.
- Open a pull request that references the issue number.
Research direction
Locate the CLI command registration for the org commands and the context set option handling. Trace how command and option aliases are defined, then verify that mw customer * and --customer-id behave like their org counterparts across the affected commands.
Written by the indexing model from the issue text.
Assessment
- Tech stack
- typescript
- Domain
- cli
- Issue type
- Feature
- Difficulty
- 4/5
- Estimated time
- 3-5 days
- Activity status
- Quiet
- Clarity
- Mostly clear
- Newbie friendliness
- 52/100