functionbuilder
All checks were successful
continuous-integration/drone/push Build is passing

This commit is contained in:
Nathan Coad
2023-02-10 16:03:48 +11:00
parent 0e658c6360
commit 03939ec9f9
5 changed files with 19 additions and 7 deletions

View File

@@ -32,7 +32,7 @@ functions:
function: export-xlsx
input:
files:
- name: input.json
- name: /tmp/input.json
data: |
jq(.input)
worksheet-name: "TestSpreadsheet"
@@ -101,6 +101,7 @@ functions:
| Name | Type | Go type | Required | Default | Description | Example |
|------|------|---------|:--------:| ------- |-------------|---------|
| infile | string| `string` | | | Name of the json input file to utilise | |
| out-filename | string| `string` | | `"output.xlsx"`| the filename of the output spreadsheet | |
| worksheet-name | string| `string` | | `"Sheet1"`| Label for the worksheet created in the spreadsheet | |