adobe / adobe/aio-cli-plugin-app

aio app delete service does not fully update .env

Open
#622 2 comments 0 reactions 0 assignees View on GitHub
Dominant language
JavaScript
Stars
28
Forks
41
Avg merge
1d 2h
Merged PRs (30d)
3

Description

The command updates `.aio` but it does not remove the service scope from the `..._meta__scopes` environment variable in `.env`.

### Example

```
_meta__scopes=["asset_compute_meta","ent_audiencemanagerplatform_sdk","ent_places_sdk"]
```

*User removes Asset Compute Service*
```
_meta__scopes=["asset_compute_meta","ent_audiencemanagerplatform_sdk","ent_places_sdk"]
```

The `"asset_compute_meta"` value above should be removed.

Contributor guide

Open the contributing guide

Research direction

Start with the `aio app delete service` command and trace the code that updates `.aio` and `.env`. Reproduce the Asset Compute Service removal using the example scope list, then verify that the service scope is removed from the `..._meta__scopes` environment variable as well as from `.aio`.

Written by the indexing model from the issue text.

Assessment

Tech stack
javascript
Domain
cli
Issue type
Bug
Difficulty
3/5
Estimated time
1-2 days
Activity status
Stale
Clarity
Clearly specified
Newbie friendliness
52/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.