2020-02-21 10:04:54 +00:00
|
|
|
---
|
2020-11-25 11:22:16 +00:00
|
|
|
name: Feature request - V4
|
2020-02-21 10:04:54 +00:00
|
|
|
about: Suggest an idea for this project
|
|
|
|
title: ''
|
2020-11-25 11:33:50 +00:00
|
|
|
labels: enhancement, v4
|
2020-02-21 10:04:54 +00:00
|
|
|
assignees: ''
|
|
|
|
|
|
|
|
---
|
|
|
|
|
2020-11-25 11:22:16 +00:00
|
|
|
**Please describe your feature request.**
|
|
|
|
A clear and concise description of what the request is and what it would solve.
|
2020-12-31 02:43:44 +00:00
|
|
|
Eg. I wish I could use yq to [...]
|
2020-11-25 11:22:16 +00:00
|
|
|
|
2020-12-31 02:43:44 +00:00
|
|
|
Note:
|
|
|
|
- how to questions should be posted in the discussion board and not raised as an issue.
|
|
|
|
- V3 will no longer have any enhancements.
|
2020-02-21 10:04:54 +00:00
|
|
|
|
|
|
|
**Describe the solution you'd like**
|
|
|
|
If we have data1.yml like:
|
2020-11-25 11:22:16 +00:00
|
|
|
(please keep to around 10 lines )
|
2020-02-21 10:04:54 +00:00
|
|
|
|
|
|
|
```yaml
|
|
|
|
country: Australia
|
|
|
|
```
|
|
|
|
|
|
|
|
And we run a command:
|
|
|
|
|
|
|
|
```bash
|
2022-01-27 06:21:10 +00:00
|
|
|
yq 'predictWeatherOf(.country)'
|
2020-02-21 10:04:54 +00:00
|
|
|
```
|
|
|
|
|
|
|
|
it could output
|
|
|
|
|
|
|
|
```yaml
|
|
|
|
temp: 32
|
|
|
|
```
|
|
|
|
|
|
|
|
**Describe alternatives you've considered**
|
|
|
|
A clear and concise description of any alternative solutions or features you've considered.
|
|
|
|
|
|
|
|
**Additional context**
|
|
|
|
Add any other context or screenshots about the feature request here.
|