Skip to content

Commit

Permalink
Fix
Browse files Browse the repository at this point in the history
  • Loading branch information
remyleone committed Apr 14, 2021
1 parent 75a5a9f commit bf4e8e1
Show file tree
Hide file tree
Showing 2 changed files with 35 additions and 0 deletions.
34 changes: 34 additions & 0 deletions cmd/scw/testdata/test-all-usage-iot-route-update-usage.golden
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
1 change: 1 addition & 0 deletions cmd/scw/testdata/test-all-usage-iot-route-usage.golden
Original file line number Diff line number Diff line change
Expand Up @@ -10,6 +10,7 @@ AVAILABLE COMMANDS:
delete Delete a route
get Get a route
list List routes
update Update a route

FLAGS:
-h, --help help for route
Expand Down

0 comments on commit bf4e8e1

Please sign in to comment.