Skip to content

Commit

Permalink
PR changes
Browse files Browse the repository at this point in the history
  • Loading branch information
adal-chiriliuc-reef committed Apr 25, 2024
1 parent e6d5a4c commit 005507d
Show file tree
Hide file tree
Showing 3 changed files with 169 additions and 167 deletions.
10 changes: 5 additions & 5 deletions b2/_internal/console_tool.py
Original file line number Diff line number Diff line change
Expand Up @@ -4269,16 +4269,16 @@ class BucketNotificationRuleBase(BucketNotificationRuleWarningMixin, Command):
{BucketNotificationRuleWarningMixin}
For more information on each subcommand, use ``{NAME} notification-rule SUBCOMMAND --help``.
For more information on each subcommand, use ``{NAME} bucket notification-rule SUBCOMMAND --help``.
Examples:
.. code-block::
{NAME} notification-rule create b2://bucketName/optionalSubPath/ ruleName --event-type "b2:ObjectCreated:*" --webhook-url https://example.com/webhook
{NAME} notification-rule list b2://bucketName
{NAME} notification-rule update b2://bucketName/newPath/ ruleName --disable --event-type "b2:ObjectCreated:*" --event-type "b2:ObjectHidden:*"
{NAME} notification-rule delete b2://bucketName ruleName
{NAME} bucket notification-rule create b2://bucketName/optionalSubPath/ ruleName --event-type "b2:ObjectCreated:*" --webhook-url https://example.com/webhook
{NAME} bucket notification-rule list b2://bucketName
{NAME} bucket notification-rule update b2://bucketName/newPath/ ruleName --disable --event-type "b2:ObjectCreated:*" --event-type "b2:ObjectHidden:*"
{NAME} bucket notification-rule delete b2://bucketName ruleName
"""
subcommands_registry = ClassRegistry(attr_name='COMMAND_NAME')

Expand Down
Loading

0 comments on commit 005507d

Please sign in to comment.