From 167a4eb02427b7c5ff199067da684d502fbcb360 Mon Sep 17 00:00:00 2001 From: scaleway-bot Date: Fri, 24 Mar 2023 17:01:50 +0000 Subject: [PATCH] feat: update generated APIs --- ...t-all-usage-cockpit-token-get-usage.golden | 2 +- ...st-all-usage-tem-domain-check-usage.golden | 2 +- ...t-all-usage-tem-domain-create-usage.golden | 4 +- ...test-all-usage-tem-domain-get-usage.golden | 2 +- ...est-all-usage-tem-domain-list-usage.golden | 2 +- ...t-all-usage-tem-domain-revoke-usage.golden | 4 +- .../test-all-usage-tem-domain-usage.golden | 6 +- ...st-all-usage-tem-email-cancel-usage.golden | 2 +- ...st-all-usage-tem-email-create-usage.golden | 18 ++-- ...sage-tem-email-get-statistics-usage.golden | 12 +-- .../test-all-usage-tem-email-get-usage.golden | 2 +- ...test-all-usage-tem-email-list-usage.golden | 20 ++-- .../test-all-usage-tem-email-usage.golden | 8 +- .../testdata/test-all-usage-tem-usage.golden | 2 +- docs/commands/cockpit.md | 2 +- docs/commands/tem.md | 98 +++++++++---------- .../namespaces/cockpit/v1beta1/cockpit_cli.go | 2 +- 17 files changed, 94 insertions(+), 94 deletions(-) diff --git a/cmd/scw/testdata/test-all-usage-cockpit-token-get-usage.golden b/cmd/scw/testdata/test-all-usage-cockpit-token-get-usage.golden index ad13a416a2..891705adbf 100644 --- a/cmd/scw/testdata/test-all-usage-cockpit-token-get-usage.golden +++ b/cmd/scw/testdata/test-all-usage-cockpit-token-get-usage.golden @@ -3,7 +3,7 @@ Get the token associated with the given ID. USAGE: - scw cockpit token get [arg=value ...] + scw cockpit token get [arg=value ...] ARGS: token-id diff --git a/cmd/scw/testdata/test-all-usage-tem-domain-check-usage.golden b/cmd/scw/testdata/test-all-usage-tem-domain-check-usage.golden index defc53b649..d07ede8870 100644 --- a/cmd/scw/testdata/test-all-usage-tem-domain-check-usage.golden +++ b/cmd/scw/testdata/test-all-usage-tem-domain-check-usage.golden @@ -1,6 +1,6 @@ 🎲🎲🎲 EXIT CODE: 0 🎲🎲🎲 πŸŸ₯πŸŸ₯πŸŸ₯ STDERR️️ πŸŸ₯πŸŸ₯πŸŸ₯️ -Ask for an immediate check of a domain (DNS check). +Perform an immediate DNS check of a domain using the `region` and `domain_id` parameters. USAGE: scw tem domain check [arg=value ...] diff --git a/cmd/scw/testdata/test-all-usage-tem-domain-create-usage.golden b/cmd/scw/testdata/test-all-usage-tem-domain-create-usage.golden index 0e70ba7d6b..9412fdd82a 100644 --- a/cmd/scw/testdata/test-all-usage-tem-domain-create-usage.golden +++ b/cmd/scw/testdata/test-all-usage-tem-domain-create-usage.golden @@ -1,6 +1,6 @@ 🎲🎲🎲 EXIT CODE: 0 🎲🎲🎲 πŸŸ₯πŸŸ₯πŸŸ₯ STDERR️️ πŸŸ₯πŸŸ₯πŸŸ₯️ -Register a domain in a project. +You must specify the `region`, `project_id` and `domain_name` to register a domain in a specific Project. USAGE: scw tem domain create [arg=value ...] @@ -8,7 +8,7 @@ USAGE: ARGS: [project-id] Project ID to use. If none is passed the default project ID will be used [domain-name] Fully qualified domain dame - [accept-tos] Accept the Scaleway Terms of Service + [accept-tos] Accept Scaleway's Terms of Service [region=fr-par] Region to target. If none is passed will use default region from the config (fr-par) FLAGS: diff --git a/cmd/scw/testdata/test-all-usage-tem-domain-get-usage.golden b/cmd/scw/testdata/test-all-usage-tem-domain-get-usage.golden index 79116abb85..2f9ff1b9fb 100644 --- a/cmd/scw/testdata/test-all-usage-tem-domain-get-usage.golden +++ b/cmd/scw/testdata/test-all-usage-tem-domain-get-usage.golden @@ -1,6 +1,6 @@ 🎲🎲🎲 EXIT CODE: 0 🎲🎲🎲 πŸŸ₯πŸŸ₯πŸŸ₯ STDERR️️ πŸŸ₯πŸŸ₯πŸŸ₯️ -Get information about a domain. +Retrieve information about a specific domain using the `region` and `domain_id` parameters. USAGE: scw tem domain get [arg=value ...] diff --git a/cmd/scw/testdata/test-all-usage-tem-domain-list-usage.golden b/cmd/scw/testdata/test-all-usage-tem-domain-list-usage.golden index 0fb46b6f8b..2bc528cbc5 100644 --- a/cmd/scw/testdata/test-all-usage-tem-domain-list-usage.golden +++ b/cmd/scw/testdata/test-all-usage-tem-domain-list-usage.golden @@ -1,6 +1,6 @@ 🎲🎲🎲 EXIT CODE: 0 🎲🎲🎲 πŸŸ₯πŸŸ₯πŸŸ₯ STDERR️️ πŸŸ₯πŸŸ₯πŸŸ₯️ -List domains in a project and/or in an organization. +Retrieve domains in a specific project or in a specific Organization using the `region` parameter. USAGE: scw tem domain list [arg=value ...] diff --git a/cmd/scw/testdata/test-all-usage-tem-domain-revoke-usage.golden b/cmd/scw/testdata/test-all-usage-tem-domain-revoke-usage.golden index 10d206eb65..6314effa97 100644 --- a/cmd/scw/testdata/test-all-usage-tem-domain-revoke-usage.golden +++ b/cmd/scw/testdata/test-all-usage-tem-domain-revoke-usage.golden @@ -1,12 +1,12 @@ 🎲🎲🎲 EXIT CODE: 0 🎲🎲🎲 πŸŸ₯πŸŸ₯πŸŸ₯ STDERR️️ πŸŸ₯πŸŸ₯πŸŸ₯️ -Revoke a domain. +You must specify the domain you want to delete by the `region` and `domain_id`. Deleting a domain is permanent and cannot be undone. USAGE: scw tem domain revoke [arg=value ...] ARGS: - domain-id ID of the domain to revoke + domain-id ID of the domain to delete [region=fr-par] Region to target. If none is passed will use default region from the config (fr-par) FLAGS: diff --git a/cmd/scw/testdata/test-all-usage-tem-domain-usage.golden b/cmd/scw/testdata/test-all-usage-tem-domain-usage.golden index 848735ac23..02288aff23 100644 --- a/cmd/scw/testdata/test-all-usage-tem-domain-usage.golden +++ b/cmd/scw/testdata/test-all-usage-tem-domain-usage.golden @@ -6,11 +6,11 @@ USAGE: scw tem domain AVAILABLE COMMANDS: - check Ask for an immediate check of a domain (DNS check) + check Domain DNS check create Register a domain in a project get Get information about a domain - list List domains in a project and/or in an organization - revoke Revoke a domain + list List domains + revoke Delete a domain FLAGS: -h, --help help for domain diff --git a/cmd/scw/testdata/test-all-usage-tem-email-cancel-usage.golden b/cmd/scw/testdata/test-all-usage-tem-email-cancel-usage.golden index 90fd8ce863..3094cd4eff 100644 --- a/cmd/scw/testdata/test-all-usage-tem-email-cancel-usage.golden +++ b/cmd/scw/testdata/test-all-usage-tem-email-cancel-usage.golden @@ -1,6 +1,6 @@ 🎲🎲🎲 EXIT CODE: 0 🎲🎲🎲 πŸŸ₯πŸŸ₯πŸŸ₯ STDERR️️ πŸŸ₯πŸŸ₯πŸŸ₯️ -Try to cancel an email if it has not yet been sent. +You can cancel the sending of an email if it has not been sent yet. You must specify the `region` and the `email_id` of the email you want to cancel. USAGE: scw tem email cancel [arg=value ...] diff --git a/cmd/scw/testdata/test-all-usage-tem-email-create-usage.golden b/cmd/scw/testdata/test-all-usage-tem-email-create-usage.golden index 3148a26792..bd4ec9c5b3 100644 --- a/cmd/scw/testdata/test-all-usage-tem-email-create-usage.golden +++ b/cmd/scw/testdata/test-all-usage-tem-email-create-usage.golden @@ -1,27 +1,27 @@ 🎲🎲🎲 EXIT CODE: 0 🎲🎲🎲 πŸŸ₯πŸŸ₯πŸŸ₯ STDERR️️ πŸŸ₯πŸŸ₯πŸŸ₯️ -Send an email. +You must specify the `region`, the sender and the recipient's information and the `project_id` to send an email from a checked domain. The subject of the email must contain at least 6 characters. USAGE: scw tem email create [arg=value ...] ARGS: [from.email] Email address - [from.name] Optional display name + [from.name] (Optional) Name displayed [to.{index}.email] Email address - [to.{index}.name] Optional display name + [to.{index}.name] (Optional) Name displayed [cc.{index}.email] Email address - [cc.{index}.name] Optional display name + [cc.{index}.name] (Optional) Name displayed [bcc.{index}.email] Email address - [bcc.{index}.name] Optional display name - [subject] Message subject + [bcc.{index}.name] (Optional) Name displayed + [subject] Subject of the email [text] Text content [html] HTML content [project-id] Project ID to use. If none is passed the default project ID will be used [attachments.{index}.name] Filename of the attachment - [attachments.{index}.type] MIME type of the attachment (Currently only allow, text files, pdf and html files) - [attachments.{index}.content] Content of the attachment, encoded in base64 - [send-before] Maximum date to deliver mail + [attachments.{index}.type] MIME type of the attachment + [attachments.{index}.content] Content of the attachment encoded in base64 + [send-before] Maximum date to deliver the email [region=fr-par] Region to target. If none is passed will use default region from the config (fr-par) FLAGS: diff --git a/cmd/scw/testdata/test-all-usage-tem-email-get-statistics-usage.golden b/cmd/scw/testdata/test-all-usage-tem-email-get-statistics-usage.golden index 92b44bd910..8a1d0ecebb 100644 --- a/cmd/scw/testdata/test-all-usage-tem-email-get-statistics-usage.golden +++ b/cmd/scw/testdata/test-all-usage-tem-email-get-statistics-usage.golden @@ -1,16 +1,16 @@ 🎲🎲🎲 EXIT CODE: 0 🎲🎲🎲 πŸŸ₯πŸŸ₯πŸŸ₯ STDERR️️ πŸŸ₯πŸŸ₯πŸŸ₯️ -Get statistics on the email statuses. +Get information on your emails' statuses. USAGE: scw tem email get-statistics [arg=value ...] ARGS: - [project-id] Optional, count emails for this project - [domain-id] Optional, count emails send from this domain (must be coherent with the `project_id` and the `organization_id`) - [since] Optional, count emails created after this date - [until] Optional, count emails created before this date - [mail-from] Optional, count emails sent with this `mail_from` sender's address + [project-id] Number of emails for this Project (optional) + [domain-id] Number of emails sent from this domain (must be coherent with the `project_id` and the `organization_id`) (optional) + [since] Number of emails created after this date (optional) + [until] Number of emails created before this date (optional) + [mail-from] Number of emails sent with this `mail_from` sender's address (optional) [region=fr-par] Region to target. If none is passed will use default region from the config (fr-par) FLAGS: diff --git a/cmd/scw/testdata/test-all-usage-tem-email-get-usage.golden b/cmd/scw/testdata/test-all-usage-tem-email-get-usage.golden index 6ecc2d7b7c..fd990e12f5 100644 --- a/cmd/scw/testdata/test-all-usage-tem-email-get-usage.golden +++ b/cmd/scw/testdata/test-all-usage-tem-email-get-usage.golden @@ -1,6 +1,6 @@ 🎲🎲🎲 EXIT CODE: 0 🎲🎲🎲 πŸŸ₯πŸŸ₯πŸŸ₯ STDERR️️ πŸŸ₯πŸŸ₯πŸŸ₯️ -Get information about an email. +Retrieve information about a specific email using the `email_id` and `region` parameters. USAGE: scw tem email get [arg=value ...] diff --git a/cmd/scw/testdata/test-all-usage-tem-email-list-usage.golden b/cmd/scw/testdata/test-all-usage-tem-email-list-usage.golden index 16218ff987..418b9e70da 100644 --- a/cmd/scw/testdata/test-all-usage-tem-email-list-usage.golden +++ b/cmd/scw/testdata/test-all-usage-tem-email-list-usage.golden @@ -1,20 +1,20 @@ 🎲🎲🎲 EXIT CODE: 0 🎲🎲🎲 πŸŸ₯πŸŸ₯πŸŸ₯ STDERR️️ πŸŸ₯πŸŸ₯πŸŸ₯️ -List emails sent from a domain and/or for a project and/or for an organization. +Retrieve the list of emails sent from a specific domain or for a specific Project or Organization. You must specify the `region`. USAGE: scw tem email list [arg=value ...] ARGS: - [project-id] Optional ID of the project in which to list the emails - [domain-id] Optional ID of the domain for which to list the emails - [message-id] Optional ID of the message for which to list the emails - [since] Optional, list emails created after this date - [until] Optional, list emails created before this date - [mail-from] Optional, list emails sent with this `mail_from` sender's address - [mail-to] Optional, list emails sent with this `mail_to` recipient's address - [statuses.{index}] Optional, list emails having any of this status (unknown | new | sending | sent | failed | canceled) - [subject] Optional, list emails having this subject + [project-id] ID of the Project in which to list the emails (optional) + [domain-id] ID of the domain for which to list the emails (optional) + [message-id] ID of the message for which to list the emails (optional) + [subject] Subject of the email + [since] List emails created after this date (optional) + [until] List emails created before this date (optional) + [mail-from] List emails sent with this `mail_from` sender's address (optional) + [mail-to] List emails sent with this `mail_to` recipient's address (optional) + [statuses.{index}] List emails having any of this status (optional) (unknown | new | sending | sent | failed | canceled) [region=fr-par] Region to target. If none is passed will use default region from the config (fr-par | all) FLAGS: diff --git a/cmd/scw/testdata/test-all-usage-tem-email-usage.golden b/cmd/scw/testdata/test-all-usage-tem-email-usage.golden index 57f78151c8..d863a7e8e4 100644 --- a/cmd/scw/testdata/test-all-usage-tem-email-usage.golden +++ b/cmd/scw/testdata/test-all-usage-tem-email-usage.golden @@ -6,11 +6,11 @@ USAGE: scw tem email AVAILABLE COMMANDS: - cancel Try to cancel an email if it has not yet been sent + cancel Cancel an email create Send an email - get Get information about an email - get-statistics Get statistics on the email statuses - list List emails sent from a domain and/or for a project and/or for an organization + get Get an email + get-statistics Email statuses + list List emails FLAGS: -h, --help help for email diff --git a/cmd/scw/testdata/test-all-usage-tem-usage.golden b/cmd/scw/testdata/test-all-usage-tem-usage.golden index 1c01c5d5aa..c0c7091f73 100644 --- a/cmd/scw/testdata/test-all-usage-tem-usage.golden +++ b/cmd/scw/testdata/test-all-usage-tem-usage.golden @@ -1,6 +1,6 @@ 🎲🎲🎲 EXIT CODE: 0 🎲🎲🎲 πŸŸ₯πŸŸ₯πŸŸ₯ STDERR️️ πŸŸ₯πŸŸ₯πŸŸ₯️ -Transactional Email API. +Transactional Email API documentation. USAGE: scw tem diff --git a/docs/commands/cockpit.md b/docs/commands/cockpit.md index 0285da2032..945864fc34 100644 --- a/docs/commands/cockpit.md +++ b/docs/commands/cockpit.md @@ -408,7 +408,7 @@ Get the token associated with the given ID. **Usage:** ``` -scw cockpit token get [arg=value ...] +scw cockpit token get [arg=value ...] ``` diff --git a/docs/commands/tem.md b/docs/commands/tem.md index 126de95620..f4e8c6ad3c 100644 --- a/docs/commands/tem.md +++ b/docs/commands/tem.md @@ -1,19 +1,19 @@ # Documentation for `scw tem` -Transactional Email API. +Transactional Email API documentation. - [Domain management commands](#domain-management-commands) - - [Ask for an immediate check of a domain (DNS check)](#ask-for-an-immediate-check-of-a-domain-(dns-check)) + - [Domain DNS check](#domain-dns-check) - [Register a domain in a project](#register-a-domain-in-a-project) - [Get information about a domain](#get-information-about-a-domain) - - [List domains in a project and/or in an organization](#list-domains-in-a-project-andor-in-an-organization) - - [Revoke a domain](#revoke-a-domain) + - [List domains](#list-domains) + - [Delete a domain](#delete-a-domain) - [Email management commands](#email-management-commands) - - [Try to cancel an email if it has not yet been sent](#try-to-cancel-an-email-if-it-has-not-yet-been-sent) + - [Cancel an email](#cancel-an-email) - [Send an email](#send-an-email) - - [Get information about an email](#get-information-about-an-email) - - [Get statistics on the email statuses](#get-statistics-on-the-email-statuses) - - [List emails sent from a domain and/or for a project and/or for an organization](#list-emails-sent-from-a-domain-andor-for-a-project-andor-for-an-organization) + - [Get an email](#get-an-email) + - [Email statuses](#email-statuses) + - [List emails](#list-emails) ## Domain management commands @@ -21,9 +21,9 @@ Transactional Email API. Domain management commands. -### Ask for an immediate check of a domain (DNS check) +### Domain DNS check -Ask for an immediate check of a domain (DNS check). +Perform an immediate DNS check of a domain using the `region` and `domain_id` parameters. **Usage:** @@ -43,7 +43,7 @@ scw tem domain check [arg=value ...] ### Register a domain in a project -Register a domain in a project. +You must specify the `region`, `project_id` and `domain_name` to register a domain in a specific Project. **Usage:** @@ -58,14 +58,14 @@ scw tem domain create [arg=value ...] |------|---|-------------| | project-id | | Project ID to use. If none is passed the default project ID will be used | | domain-name | | Fully qualified domain dame | -| accept-tos | | Accept the Scaleway Terms of Service | +| accept-tos | | Accept Scaleway's Terms of Service | | region | Default: `fr-par`
One of: `fr-par` | Region to target. If none is passed will use default region from the config | ### Get information about a domain -Get information about a domain. +Retrieve information about a specific domain using the `region` and `domain_id` parameters. **Usage:** @@ -83,9 +83,9 @@ scw tem domain get [arg=value ...] -### List domains in a project and/or in an organization +### List domains -List domains in a project and/or in an organization. +Retrieve domains in a specific project or in a specific Organization using the `region` parameter. **Usage:** @@ -106,9 +106,9 @@ scw tem domain list [arg=value ...] -### Revoke a domain +### Delete a domain -Revoke a domain. +You must specify the domain you want to delete by the `region` and `domain_id`. Deleting a domain is permanent and cannot be undone. **Usage:** @@ -121,7 +121,7 @@ scw tem domain revoke [arg=value ...] | Name | | Description | |------|---|-------------| -| domain-id | Required | ID of the domain to revoke | +| domain-id | Required | ID of the domain to delete | | region | Default: `fr-par`
One of: `fr-par` | Region to target. If none is passed will use default region from the config | @@ -131,9 +131,9 @@ scw tem domain revoke [arg=value ...] Email management commands. -### Try to cancel an email if it has not yet been sent +### Cancel an email -Try to cancel an email if it has not yet been sent. +You can cancel the sending of an email if it has not been sent yet. You must specify the `region` and the `email_id` of the email you want to cancel. **Usage:** @@ -153,7 +153,7 @@ scw tem email cancel [arg=value ...] ### Send an email -Send an email. +You must specify the `region`, the sender and the recipient's information and the `project_id` to send an email from a checked domain. The subject of the email must contain at least 6 characters. **Usage:** @@ -167,28 +167,28 @@ scw tem email create [arg=value ...] | Name | | Description | |------|---|-------------| | from.email | | Email address | -| from.name | | Optional display name | +| from.name | | (Optional) Name displayed | | to.{index}.email | | Email address | -| to.{index}.name | | Optional display name | +| to.{index}.name | | (Optional) Name displayed | | cc.{index}.email | | Email address | -| cc.{index}.name | | Optional display name | +| cc.{index}.name | | (Optional) Name displayed | | bcc.{index}.email | | Email address | -| bcc.{index}.name | | Optional display name | -| subject | | Message subject | +| bcc.{index}.name | | (Optional) Name displayed | +| subject | | Subject of the email | | text | | Text content | | html | | HTML content | | project-id | | Project ID to use. If none is passed the default project ID will be used | | attachments.{index}.name | | Filename of the attachment | -| attachments.{index}.type | | MIME type of the attachment (Currently only allow, text files, pdf and html files) | -| attachments.{index}.content | | Content of the attachment, encoded in base64 | -| send-before | | Maximum date to deliver mail | +| attachments.{index}.type | | MIME type of the attachment | +| attachments.{index}.content | | Content of the attachment encoded in base64 | +| send-before | | Maximum date to deliver the email | | region | Default: `fr-par`
One of: `fr-par` | Region to target. If none is passed will use default region from the config | -### Get information about an email +### Get an email -Get information about an email. +Retrieve information about a specific email using the `email_id` and `region` parameters. **Usage:** @@ -206,9 +206,9 @@ scw tem email get [arg=value ...] -### Get statistics on the email statuses +### Email statuses -Get statistics on the email statuses. +Get information on your emails' statuses. **Usage:** @@ -221,18 +221,18 @@ scw tem email get-statistics [arg=value ...] | Name | | Description | |------|---|-------------| -| project-id | | Optional, count emails for this project | -| domain-id | | Optional, count emails send from this domain (must be coherent with the `project_id` and the `organization_id`) | -| since | | Optional, count emails created after this date | -| until | | Optional, count emails created before this date | -| mail-from | | Optional, count emails sent with this `mail_from` sender's address | +| project-id | | Number of emails for this Project (optional) | +| domain-id | | Number of emails sent from this domain (must be coherent with the `project_id` and the `organization_id`) (optional) | +| since | | Number of emails created after this date (optional) | +| until | | Number of emails created before this date (optional) | +| mail-from | | Number of emails sent with this `mail_from` sender's address (optional) | | region | Default: `fr-par`
One of: `fr-par` | Region to target. If none is passed will use default region from the config | -### List emails sent from a domain and/or for a project and/or for an organization +### List emails -List emails sent from a domain and/or for a project and/or for an organization. +Retrieve the list of emails sent from a specific domain or for a specific Project or Organization. You must specify the `region`. **Usage:** @@ -245,15 +245,15 @@ scw tem email list [arg=value ...] | Name | | Description | |------|---|-------------| -| project-id | | Optional ID of the project in which to list the emails | -| domain-id | | Optional ID of the domain for which to list the emails | -| message-id | | Optional ID of the message for which to list the emails | -| since | | Optional, list emails created after this date | -| until | | Optional, list emails created before this date | -| mail-from | | Optional, list emails sent with this `mail_from` sender's address | -| mail-to | | Optional, list emails sent with this `mail_to` recipient's address | -| statuses.{index} | One of: `unknown`, `new`, `sending`, `sent`, `failed`, `canceled` | Optional, list emails having any of this status | -| subject | | Optional, list emails having this subject | +| project-id | | ID of the Project in which to list the emails (optional) | +| domain-id | | ID of the domain for which to list the emails (optional) | +| message-id | | ID of the message for which to list the emails (optional) | +| subject | | Subject of the email | +| since | | List emails created after this date (optional) | +| until | | List emails created before this date (optional) | +| mail-from | | List emails sent with this `mail_from` sender's address (optional) | +| mail-to | | List emails sent with this `mail_to` recipient's address (optional) | +| statuses.{index} | One of: `unknown`, `new`, `sending`, `sent`, `failed`, `canceled` | List emails having any of this status (optional) | | region | Default: `fr-par`
One of: `fr-par`, `all` | Region to target. If none is passed will use default region from the config | diff --git a/internal/namespaces/cockpit/v1beta1/cockpit_cli.go b/internal/namespaces/cockpit/v1beta1/cockpit_cli.go index 4125062c0d..7558ab80b1 100644 --- a/internal/namespaces/cockpit/v1beta1/cockpit_cli.go +++ b/internal/namespaces/cockpit/v1beta1/cockpit_cli.go @@ -310,7 +310,7 @@ func cockpitTokenGet() *core.Command { Name: "token-id", Required: true, Deprecated: false, - Positional: false, + Positional: true, }, }, Run: func(ctx context.Context, args interface{}) (i interface{}, e error) {