-
Notifications
You must be signed in to change notification settings - Fork 152
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
Showing
2 changed files
with
35 additions
and
0 deletions.
There are no files selected for viewing
34 changes: 34 additions & 0 deletions
34
cmd/scw/testdata/test-all-usage-iot-route-update-usage.golden
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,34 @@ | ||
🎲🎲🎲 EXIT CODE: 0 🎲🎲🎲 | ||
🟥🟥🟥 STDERR️️ 🟥🟥🟥️ | ||
Update a route. | ||
|
||
USAGE: | ||
scw iot route update [arg=value ...] | ||
|
||
ARGS: | ||
route-id Route id | ||
[name] Route name | ||
[topic] Topic the route subscribes to. It must be a valid MQTT topic and up to 65535 characters | ||
[s3-config.bucket-region] | ||
[s3-config.bucket-name] | ||
[s3-config.object-prefix] | ||
[s3-config.strategy] (unknown | per_topic | per_message) | ||
[db-config.host] | ||
[db-config.port] | ||
[db-config.dbname] | ||
[db-config.username] | ||
[db-config.password] | ||
[db-config.query] | ||
[rest-config.verb] (unknown | get | post | put | patch | delete) | ||
[rest-config.uri] | ||
[rest-config.headers.value.{key}] | ||
[region=fr-par] Region to target. If none is passed will use default region from the config (fr-par) | ||
|
||
FLAGS: | ||
-h, --help help for update | ||
|
||
GLOBAL FLAGS: | ||
-c, --config string The path to the config file | ||
-D, --debug Enable debug mode | ||
-o, --output string Output format: json or human, see 'scw help output' for more info (default "human") | ||
-p, --profile string The config profile to use |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters