`tilesets view-recipe` confusingly includes recipe wrapper
Nobody has claimed this yet.
- Dominant language
- Python
- Stars
- 141
- Forks
- 27
- PR merge metrics
- No merged PRs in 30d
Description
```
(python-venv) ➤ tilesets view-recipe enf.countries-center
{"recipe": {"version": 1, "layers": {"countries": {"minzoom": 0, "maxzoom": 5, "source": "mapbox://tileset-source/enf/countries"}}}, "id": "enf.countries-center"}
```
The output includes a JSON wrapper containing `recipe` and `id`. It would be more useful to strip out this level so that the output was directly suitable as input to `tilesets create` or `tilesets update-recipe` instead of having to be edited first.
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
Start by tracing the `tilesets view-recipe` CLI command and inspect how its output is assembled. Compare that output with the input expected by `tilesets create` and `tilesets update-recipe`; done means the command emits the recipe directly without the `recipe` and `id` wrapper.
Written by the indexing model from the issue text.
Assessment
- Tech stack
- python
- Domain
- cli
- Issue type
- Bug
- Difficulty
- 2/5
- Estimated time
- 1-3 hours
- Activity status
- Stale
- Clarity
- Clearly specified
- Newbie friendliness
- 55/100