This commit is contained in:
16
readme.md
16
readme.md
@@ -33,12 +33,11 @@ functions:
|
||||
input:
|
||||
out-filename: example.xlsx
|
||||
sheets:
|
||||
- sheet:
|
||||
worksheet-name: "TestSpreadsheet"
|
||||
input-file:
|
||||
- name: input.json
|
||||
data: |
|
||||
jq(.input)
|
||||
- name: "TestSpreadsheet"
|
||||
input-file:
|
||||
- name: input.json
|
||||
data: |
|
||||
jq(.input)
|
||||
```
|
||||
#### Use jq to add a parent key 'input' containing array of objects
|
||||
```yaml
|
||||
@@ -49,8 +48,7 @@ functions:
|
||||
input:
|
||||
out-filename: example.xlsx
|
||||
sheets:
|
||||
- sheet:
|
||||
worksheet-name: "TestSpreadsheet"
|
||||
- name: "TestSpreadsheet"
|
||||
input-file:
|
||||
- name: input.json
|
||||
data: |
|
||||
@@ -135,6 +133,6 @@ functions:
|
||||
|------|------|---------|:--------:| ------- |-------------|---------|
|
||||
| infile | string| `string` | | | Name of the json input file to utilise | |
|
||||
| input-file | [][DirektivFile](#direktiv-file)| `[]apps.DirektivFile` | | | File to create before running commands | |
|
||||
| worksheet-name | string| `string` | | `"Sheet1"`| Label for the worksheet created in the spreadsheet | |
|
||||
| name | string| `string` | | `"Sheet1"`| Label for the worksheet created in the spreadsheet | |
|
||||
|
||||
|
||||
|
Reference in New Issue
Block a user