Unset context when object is deleted
Nobody has claimed this yet.
- Dominant language
- TypeScript
- Stars
- 8
- Forks
- 2
- Avg merge
- 13h 26m
- Merged PRs (30d)
- 35
Description
Is your feature request related to a problem? Please describe.
After deleting an object, for example an app using mw app uninstall the context for this app ist still set (if it was set before).
Describe the solution you'd like
Specific commands that delete/uninstall an context object should unset the context:
app uninstallproject delete
Describe alternatives you've considered
- Interactively ask if the context should be removed
- Add flag
--unset-context
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
Trace the CLI entry points for app uninstall and project delete, then inspect how the current context is stored and updated. Implement the requested behavior so deleting either context object removes its context, and verify both commands no longer leave a deleted object selected.
Written by the indexing model from the issue text.
Assessment
- Tech stack
- typescript
- Domain
- cli
- Issue type
- Feature
- Difficulty
- 3/5
- Estimated time
- 1-2 days
- Activity status
- Stale
- Clarity
- Mostly clear
- Newbie friendliness
- 45/100