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.
|
|
|
|
Ex. I wish I could use yq to [...]
|
|
|
|
|
|
|
|
Please note that 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
|
2020-11-25 11:22:16 +00:00
|
|
|
yq eval '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.
|