Skip to content

Commit 1ff2741

Browse files
committed
feat: update generated APIs
1 parent cc4300b commit 1ff2741

File tree

6 files changed

+44
-3
lines changed

6 files changed

+44
-3
lines changed
Lines changed: 15 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,15 @@
1+
🎲🎲🎲 EXIT CODE: 0 🎲🎲🎲
2+
🟥🟥🟥 STDERR️️ 🟥🟥🟥️
3+
This section allows you to manage the blocklist of your emails.
4+
5+
USAGE:
6+
scw tem blocklists
7+
8+
FLAGS:
9+
-h, --help help for blocklists
10+
11+
GLOBAL FLAGS:
12+
-c, --config string The path to the config file
13+
-D, --debug Enable debug mode
14+
-o, --output string Output format: json or human, see 'scw help output' for more info (default "human")
15+
-p, --profile string The config profile to use

cmd/scw/testdata/test-all-usage-tem-usage.golden

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -6,6 +6,7 @@ USAGE:
66
scw tem <command>
77

88
AVAILABLE COMMANDS:
9+
blocklists Blocklist
910
domain Domain management commands
1011
email Email management commands
1112
project-settings Project settings management commands

docs/commands/tem.md

Lines changed: 15 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -2,6 +2,7 @@
22
# Documentation for `scw tem`
33
This API allows you to manage your Transactional Email services.
44

5+
- [Blocklist](#blocklist)
56
- [Domain management commands](#domain-management-commands)
67
- [Domain DNS check](#domain-dns-check)
78
- [Register a domain in a project](#register-a-domain-in-a-project)
@@ -26,6 +27,20 @@ This API allows you to manage your Transactional Email services.
2627
- [Update a Webhook](#update-a-webhook)
2728

2829

30+
## Blocklist
31+
32+
This section allows you to manage the blocklist of your emails.
33+
34+
This section allows you to manage the blocklist of your emails.
35+
36+
**Usage:**
37+
38+
```
39+
scw tem blocklists
40+
```
41+
42+
43+
2944
## Domain management commands
3045

3146
This section lists your domains, shows you to manage them, and gives you information about them.

go.mod

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -26,7 +26,7 @@ require (
2626
github.com/mattn/go-isatty v0.0.20
2727
github.com/moby/buildkit v0.13.2
2828
github.com/opencontainers/go-digest v1.0.0
29-
github.com/scaleway/scaleway-sdk-go v1.0.0-beta.30.0.20250108093124-1be16fad27b2
29+
github.com/scaleway/scaleway-sdk-go v1.0.0-beta.30.0.20250110143411-ef7be5a7df5d
3030
github.com/skratchdot/open-golang v0.0.0-20200116055534-eef842397966
3131
github.com/spf13/cobra v1.8.1
3232
github.com/spf13/pflag v1.0.5

go.sum

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -463,8 +463,8 @@ github.com/rogpeppe/go-internal v1.11.0/go.mod h1:ddIwULY96R17DhadqLgMfk9H9tvdUz
463463
github.com/russross/blackfriday/v2 v2.1.0/go.mod h1:+Rmxgy9KzJVeS9/2gXHxylqXiyQDYRxCVz55jmeOWTM=
464464
github.com/sabhiram/go-gitignore v0.0.0-20210923224102-525f6e181f06 h1:OkMGxebDjyw0ULyrTYWeN0UNCCkmCWfjPnIA2W6oviI=
465465
github.com/sabhiram/go-gitignore v0.0.0-20210923224102-525f6e181f06/go.mod h1:+ePHsJ1keEjQtpvf9HHw0f4ZeJ0TLRsxhunSI2hYJSs=
466-
github.com/scaleway/scaleway-sdk-go v1.0.0-beta.30.0.20250108093124-1be16fad27b2 h1:zPlwMJ1eKWpII1TWrasa7/Q+mC1KumZlxyqTQrhHKA8=
467-
github.com/scaleway/scaleway-sdk-go v1.0.0-beta.30.0.20250108093124-1be16fad27b2/go.mod h1:kzh+BSAvpoyHHdHBCDhmSWtBc1NbLMZ2lWHqnBoxFks=
466+
github.com/scaleway/scaleway-sdk-go v1.0.0-beta.30.0.20250110143411-ef7be5a7df5d h1:UNCuJCwyV0rMXnDveA7SFM18Q9y/HLwFh5rED0RRJVc=
467+
github.com/scaleway/scaleway-sdk-go v1.0.0-beta.30.0.20250110143411-ef7be5a7df5d/go.mod h1:kzh+BSAvpoyHHdHBCDhmSWtBc1NbLMZ2lWHqnBoxFks=
468468
github.com/sclevine/spec v1.4.0 h1:z/Q9idDcay5m5irkZ28M7PtQM4aOISzOpj4bUPkDee8=
469469
github.com/sclevine/spec v1.4.0/go.mod h1:LvpgJaFyvQzRvc1kaDs0bulYwzC70PbiYjC4QnFHkOM=
470470
github.com/secure-systems-lab/go-securesystemslib v0.8.0 h1:mr5An6X45Kb2nddcFlbmfHkLguCE9laoZCUzEEpIZXA=

internal/namespaces/tem/v1alpha1/tem_cli.go

Lines changed: 10 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -24,6 +24,7 @@ func GetGeneratedCommands() *core.Commands {
2424
temDomain(),
2525
temWebhook(),
2626
temProjectSettings(),
27+
temBlocklists(),
2728
temEmailCreate(),
2829
temEmailGet(),
2930
temEmailList(),
@@ -88,6 +89,15 @@ func temProjectSettings() *core.Command {
8889
}
8990
}
9091

92+
func temBlocklists() *core.Command {
93+
return &core.Command{
94+
Short: `Blocklist`,
95+
Long: `This section allows you to manage the blocklist of your emails.`,
96+
Namespace: "tem",
97+
Resource: "blocklists",
98+
}
99+
}
100+
91101
func temEmailCreate() *core.Command {
92102
return &core.Command{
93103
Short: `Send an email`,

0 commit comments

Comments
 (0)