mittwald / mittwald/cli

Introduce customer alias fro org

Open
#1,833 0 comments 0 reactions 0 assignees View on GitHub

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

Open the contributing guide

First steps

  1. Read the whole issue, then the project's contributing guide.
  2. Comment on the issue to say you are picking it up — it saves two people doing the same work.
  3. Fork the repository and make your change on a branch.
  4. 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

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.