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

This commit is contained in:
Nathan Coad
2023-02-10 17:15:59 +11:00
parent e2b4dbca4e
commit bebeae7358
5 changed files with 88 additions and 318 deletions

View File

@@ -32,7 +32,7 @@ functions:
function: export-xlsx
input:
files:
- name: /tmp/input.json
- name: input.json
data: |
jq(.input)
worksheet-name: "TestSpreadsheet"
@@ -112,6 +112,7 @@ functions:
| Name | Type | Go type | Required | Default | Description | Example |
|------|------|---------|:--------:| ------- |-------------|---------|
| files | [][DirektivFile](#direktiv-file)| `[]apps.DirektivFile` | | | File to create before running commands. | |
| in-data | [interface{}](#interface)| `interface{}` | | | json input to convert to spreadsheet | |
| infile | string| `string` | | | Name of the json input file to utilise | |
| out-filename | string| `string` | ✓ | `"output.xlsx"`| the filename of the output spreadsheet | |