From 6a79082ba89dc96d61908a2798d8e3356d5da0b1 Mon Sep 17 00:00:00 2001 From: ferhat elmas Date: Thu, 9 Dec 2021 20:27:09 +0100 Subject: [PATCH] Release 0.3.0 --- README.md | 17 +++++++---------- docs/chat.md | 2 +- oclif.manifest.json | 2 +- package.json | 2 +- 4 files changed, 10 insertions(+), 13 deletions(-) diff --git a/README.md b/README.md index ce86fee..4b38bcb 100644 --- a/README.md +++ b/README.md @@ -105,33 +105,30 @@ stream chat:channel:create --channel=$(openssl rand -hex 12) --type="messaging" # 🥳‍ Usage - ```sh-session $ npm install -g getstream-cli $ stream COMMAND running command... $ stream (-v|--version|version) -getstream-cli/0.2.4 linux-x64 node-v14.10.0 +getstream-cli/0.3.0 linux-x64 node-v14.3.0 $ stream --help [COMMAND] USAGE $ stream COMMAND ... ``` - # 💻 Commands - # Command Topics -- [`stream autocomplete`](docs/autocomplete.md) - display autocomplete installation instructions -- [`stream chat`](docs/chat.md) - Manage chat -- [`stream commands`](docs/commands.md) - list all the commands -- [`stream config`](docs/config.md) - Configure API access -- [`stream debug`](docs/debug.md) - Debugging tools -- [`stream help`](docs/help.md) - display help for stream +* [`stream autocomplete`](docs/autocomplete.md) - display autocomplete installation instructions +* [`stream chat`](docs/chat.md) - Manage chat +* [`stream commands`](docs/commands.md) - list all the commands +* [`stream config`](docs/config.md) - Configure API access +* [`stream debug`](docs/debug.md) - Debugging tools +* [`stream help`](docs/help.md) - display help for stream diff --git a/docs/chat.md b/docs/chat.md index 903275a..d7ed46c 100644 --- a/docs/chat.md +++ b/docs/chat.md @@ -77,7 +77,7 @@ USAGE $ stream chat:channel:create OPTIONS - -c, --channel=channel [default: 59b33c3d-d61f-4c8d-a1ef-f4fae082765d] A unique ID for the channel you wish to create. + -c, --channel=channel [default: 7d72deb6-45ae-4909-b134-67424fe958c2] A unique ID for the channel you wish to create. -d, --data=data Additional data as JSON. -i, --image=image URL to channel image. -j, --json Output results in JSON. When not specified, returns output in a human friendly format. diff --git a/oclif.manifest.json b/oclif.manifest.json index ab417b5..b0a1398 100644 --- a/oclif.manifest.json +++ b/oclif.manifest.json @@ -1 +1 @@ -{"version":"0.2.4","commands":{"config:destroy":{"id":"config:destroy","description":"Destroys your user configuration.","pluginName":"getstream-cli","pluginType":"core","aliases":[],"flags":{"force":{"name":"force","type":"boolean","char":"f","description":"Force remove Stream configuration from cache.","required":false,"allowNo":false}},"args":[]},"config:get":{"id":"config:get","description":"Outputs your user configuration.","pluginName":"getstream-cli","pluginType":"core","aliases":[],"flags":{"json":{"name":"json","type":"boolean","char":"j","description":"Output results in JSON. When not specified, returns output in a human friendly format.","required":false,"allowNo":false}},"args":[]},"config:set":{"id":"config:set","description":"Sets your user configuration.","pluginName":"getstream-cli","pluginType":"core","aliases":[],"flags":{"name":{"name":"name","type":"option","char":"n","description":"Full name for configuration.","required":false},"email":{"name":"email","type":"option","char":"e","description":"Email for configuration.","required":false},"key":{"name":"key","type":"option","char":"k","description":"API key for configuration.","required":false},"secret":{"name":"secret","type":"option","char":"s","description":"API secret for configuration.","required":false},"url":{"name":"url","type":"option","char":"u","description":"API base URL for configuration.","required":false},"environment":{"name":"environment","type":"option","char":"v","description":"Environment to run in (production or development for token and permission checking).","required":false},"telemetry":{"name":"telemetry","type":"boolean","char":"t","description":"Enable error reporting for debugging purposes.","required":false,"allowNo":false},"timeout":{"name":"timeout","type":"option","char":"o","description":"Timeout for requests in ms.","required":false},"json":{"name":"json","type":"boolean","char":"j","description":"Output results in JSON. When not specified, returns output in a human friendly format.","required":false,"allowNo":false}},"args":[]},"debug:token":{"id":"debug:token","description":"Debugs a JWT token provided by Stream.","pluginName":"getstream-cli","pluginType":"core","aliases":[],"flags":{"token":{"name":"token","type":"option","char":"t","description":"The Stream token you are trying to debug.","required":false},"json":{"name":"json","type":"boolean","char":"j","description":"Output results in JSON. When not specified, returns output in a human friendly format.","required":false,"allowNo":false}},"args":[]},"chat:channel:add_member":{"id":"chat:channel:add_member","description":"Adds a member to a channel.","pluginName":"getstream-cli","pluginType":"core","aliases":[],"flags":{"channel":{"name":"channel","type":"option","char":"c","description":"A unique ID for the channel add the user to.","required":false},"type":{"name":"type","type":"option","char":"t","description":"Type of channel.","required":false},"name":{"name":"name","type":"option","char":"n","description":"Name of the channel room.","required":false},"image":{"name":"image","type":"option","char":"i","description":"URL to channel image.","required":false},"user":{"name":"user","type":"option","char":"u","description":"Unique identifier for the user you are adding.","required":false},"data":{"name":"data","type":"option","char":"r","description":"The role of the user you are adding.","required":false},"json":{"name":"json","type":"boolean","char":"j","description":"Output results in JSON. When not specified, returns output in a human friendly format.","required":false,"allowNo":false}},"args":[]},"chat:channel:create":{"id":"chat:channel:create","description":"Creates a new channel.","pluginName":"getstream-cli","pluginType":"core","aliases":[],"flags":{"channel":{"name":"channel","type":"option","char":"c","description":"A unique ID for the channel you wish to create.","required":false,"default":"59b33c3d-d61f-4c8d-a1ef-f4fae082765d"},"type":{"name":"type","type":"option","char":"t","description":"Type of channel.","required":false},"name":{"name":"name","type":"option","char":"n","description":"Name of the channel room.","required":false},"image":{"name":"image","type":"option","char":"i","description":"URL to channel image.","required":false},"users":{"name":"users","type":"option","char":"u","description":"Comma separated list of users to add.","required":false},"data":{"name":"data","type":"option","char":"d","description":"Additional data as JSON.","required":false},"json":{"name":"json","type":"boolean","char":"j","description":"Output results in JSON. When not specified, returns output in a human friendly format.","required":false,"allowNo":false}},"args":[]},"chat:channel:demote_moderator":{"id":"chat:channel:demote_moderator","description":"Demotes a moderator from a channel.","pluginName":"getstream-cli","pluginType":"core","aliases":[],"flags":{"channel":{"name":"channel","type":"option","char":"c","description":"A unique ID for the channel you wish to create.","required":false},"type":{"name":"type","type":"option","char":"t","description":"Type of channel.","required":false},"user":{"name":"user","type":"option","char":"u","description":"A unique ID for user to demote from a moderator.","required":false}},"args":[]},"chat:channel:get":{"id":"chat:channel:get","description":"Gets a specific channel by its ID and type.","pluginName":"getstream-cli","pluginType":"core","aliases":[],"flags":{"channel":{"name":"channel","type":"option","char":"c","description":"The channel ID you wish to retrieve.","required":false},"type":{"name":"type","type":"option","char":"t","description":"Type of channel.","required":false}},"args":[]},"chat:channel:hide":{"id":"chat:channel:hide","description":"Hides a channel.","pluginName":"getstream-cli","pluginType":"core","aliases":[],"flags":{"user":{"name":"user","type":"option","char":"u","description":"User ID","required":false},"channel":{"name":"channel","type":"option","char":"c","description":"The channel ID you wish to remove.","required":false},"type":{"name":"type","type":"option","char":"t","description":"Type of channel.","required":false}},"args":[]},"chat:channel:list":{"id":"chat:channel:list","description":"Lists all channels.","pluginName":"getstream-cli","pluginType":"core","aliases":[],"flags":{"limit":{"name":"limit","type":"option","char":"l","description":"Channel list limit.","required":true},"offset":{"name":"offset","type":"option","char":"o","description":"Channel list offset.","required":true}},"args":[]},"chat:channel:promote_moderator":{"id":"chat:channel:promote_moderator","description":"Promotes a user to a moderator in a channel.","pluginName":"getstream-cli","pluginType":"core","aliases":[],"flags":{"channel":{"name":"channel","type":"option","char":"c","description":"A unique ID for the channel you wish to create.","required":false},"type":{"name":"type","type":"option","char":"t","description":"Type of channel.","required":false},"user":{"name":"user","type":"option","char":"u","description":"A unique ID for user user to demote.","required":false}},"args":[]},"chat:channel:query":{"id":"chat:channel:query","description":"Queries all channels.","pluginName":"getstream-cli","pluginType":"core","aliases":[],"flags":{"channel":{"name":"channel","type":"option","char":"c","description":"The unique identifier for the channel you want to query.","required":false},"type":{"name":"type","type":"option","char":"t","description":"Type of channel.","required":false},"filter":{"name":"filter","type":"option","char":"f","description":"Filters to apply to the query.","required":false},"sort":{"name":"sort","type":"option","char":"s","description":"Sort to apply to the query.","required":false},"json":{"name":"json","type":"boolean","char":"j","description":"Output results in JSON. When not specified, returns output in a human friendly format.","required":false,"allowNo":false}},"args":[]},"chat:channel:remove":{"id":"chat:channel:remove","description":"Removes a channel.","pluginName":"getstream-cli","pluginType":"core","aliases":[],"flags":{"channel":{"name":"channel","type":"option","char":"c","description":"The channel ID you wish to remove.","required":false},"type":{"name":"type","type":"option","char":"t","description":"Type of channel.","required":false}},"args":[]},"chat:channel:show":{"id":"chat:channel:show","description":"Unhindes (shows) a channel.","pluginName":"getstream-cli","pluginType":"core","aliases":[],"flags":{"user":{"name":"user","type":"option","char":"u","description":"User ID","required":false},"channel":{"name":"channel","type":"option","char":"c","description":"The channel ID you wish to remove.","required":false},"type":{"name":"type","type":"option","char":"t","description":"Type of channel.","required":false}},"args":[]},"chat:channel:type":{"id":"chat:channel:type","description":"Updates a channels type configuration.","pluginName":"getstream-cli","pluginType":"core","aliases":[],"flags":{"channel":{"name":"channel","type":"option","char":"c","description":"The ID of the channel you wish to update.","required":false},"type":{"name":"type","type":"option","char":"t","description":"Type of channel.","required":false},"name":{"name":"name","type":"option","char":"n","description":"Name of the channel room.","required":false},"image":{"name":"image","type":"option","char":"i","description":"URL to the channel image.","required":false},"description":{"name":"description","type":"option","char":"d","description":"Description for the channel.","required":false},"reason":{"name":"reason","type":"option","char":"r","description":"Reason for changing channel.","required":false},"json":{"name":"json","type":"boolean","char":"j","description":"Output results in JSON. When not specified, returns output in a human friendly format.","required":false,"allowNo":false}},"args":[]},"chat:channel:update":{"id":"chat:channel:update","description":"Updates a channel.","pluginName":"getstream-cli","pluginType":"core","aliases":[],"flags":{"channel":{"name":"channel","type":"option","char":"c","description":"The ID of the channel you wish to update.","required":false},"type":{"name":"type","type":"option","char":"t","description":"Type of channel.","required":false},"name":{"name":"name","type":"option","char":"n","description":"Name of the channel room.","required":false},"image":{"name":"image","type":"option","char":"i","description":"URL to the channel image.","required":false},"description":{"name":"description","type":"option","char":"d","description":"Description for the channel.","required":false},"reason":{"name":"reason","type":"option","char":"r","description":"Reason for changing channel.","required":false},"json":{"name":"json","type":"boolean","char":"j","description":"Output results in JSON. When not specified, returns output in a human friendly format.","required":false,"allowNo":false}},"args":[]},"chat:channel:update_type":{"id":"chat:channel:update_type","description":"Updates a channels type configuration.","pluginName":"getstream-cli","pluginType":"core","aliases":[],"flags":{"type":{"name":"type","type":"option","char":"t","description":"Type of channel.","required":false},"replies":{"name":"replies","type":"boolean","char":"p","description":"Enable or disable replies (true/false)","required":false,"allowNo":false},"typing_events":{"name":"typing_events","type":"boolean","char":"y","description":"Enable or disable typing events (true/false)","required":false,"allowNo":false},"read_events":{"name":"read_events","type":"option","char":"e","description":"Enable or disable read events (true/false)","required":false},"connect_events":{"name":"connect_events","type":"boolean","char":"c","description":"Enable or disable connect events (true/false)","required":false,"allowNo":false},"search":{"name":"search","type":"boolean","char":"s","description":"Enable or disable search (true/false)","required":false,"allowNo":false},"reactions":{"name":"reactions","type":"boolean","char":"a","description":"Enable or disable reactions (true/false)","required":false,"allowNo":false},"mutes":{"name":"mutes","type":"boolean","char":"m","description":"Enable or disable mutes (true/false)","required":false,"allowNo":false},"automod":{"name":"automod","type":"option","char":"a","description":"Enable or disable automod (enabled/disabled)","required":false},"message_retention":{"name":"message_retention","type":"option","char":"a","description":"How long to retain messages (defaults to infinite)","required":false},"json":{"name":"json","type":"boolean","char":"j","description":"Output results in JSON. When not specified, returns output in a human friendly format.","required":false,"allowNo":false}},"args":[]},"chat:log":{"id":"chat:log","description":"Logs events in realtime.","pluginName":"getstream-cli","pluginType":"core","aliases":[],"flags":{"channel":{"name":"channel","type":"option","char":"c","description":"The channel ID you wish to log.","required":false},"type":{"name":"type","type":"option","char":"t","description":"The type of channel.","required":false},"event":{"name":"event","type":"option","char":"e","description":"The type of event you want to listen on.","required":false,"options":["all","user.status.changed","user.watching.start","user.watching.stop","user.updated","typing.start","typing.stop","message.new","message.updated","message.deleted","message.seen","message.reaction","member.added","member.removed","channel.updated","health.check","connection.changed","connection.recovered"]},"json":{"name":"json","type":"boolean","char":"j","description":"Output results in JSON. When not specified, returns output in a human friendly format.","required":false,"allowNo":false}},"args":[]},"chat:message:create":{"id":"chat:message:create","description":"Creates a new message.","pluginName":"getstream-cli","pluginType":"core","aliases":[],"flags":{"user":{"name":"user","type":"option","char":"u","description":"The ID of the user sending the message.","required":false},"name":{"name":"name","type":"option","char":"n","description":"The name of the user sending the message.","required":false},"image":{"name":"image","type":"option","char":"i","description":"Absolute URL for an avatar of the user sending the message.","required":false},"type":{"name":"type","type":"option","char":"t","description":"The type of channel.","required":false},"channel":{"name":"channel","type":"option","char":"c","description":"The ID of the channel that you would like to send a message to.","required":false},"message":{"name":"message","type":"option","char":"m","description":"The message you would like to send as plaintext.","required":false},"json":{"name":"json","type":"boolean","char":"j","description":"Output results in JSON. When not specified, returns output in a human friendly format.","required":false,"allowNo":false}},"args":[]},"chat:message:flag":{"id":"chat:message:flag","description":"Flags a message.","pluginName":"getstream-cli","pluginType":"core","aliases":[],"flags":{"message":{"name":"message","type":"option","char":"m","description":"The unique identifier of the message you want to flag.","required":false},"json":{"name":"json","type":"boolean","char":"j","description":"Output results in JSON. When not specified, returns output in a human friendly format.","required":false,"allowNo":false}},"args":[]},"chat:message:list":{"id":"chat:message:list","description":"Lists all messages.","pluginName":"getstream-cli","pluginType":"core","aliases":[],"flags":{"type":{"name":"type","type":"option","char":"t","description":"The type of channel.","required":false},"channel":{"name":"channel","type":"option","char":"c","description":"The ID of the channel that you would like to send a message to.","required":false},"json":{"name":"json","type":"boolean","char":"j","description":"Output results in JSON. When not specified, returns output in a human friendly format.","required":false,"allowNo":false}},"args":[]},"chat:message:remove":{"id":"chat:message:remove","description":"Removes a message.","pluginName":"getstream-cli","pluginType":"core","aliases":[],"flags":{"message":{"name":"message","type":"option","char":"message","description":"The unique identifier of the message you would like to remove.","required":false},"json":{"name":"json","type":"boolean","char":"j","description":"Output results in JSON. When not specified, returns output in a human friendly format.","required":false,"allowNo":false}},"args":[]},"chat:message:unflag":{"id":"chat:message:unflag","description":"Unflags a message.","pluginName":"getstream-cli","pluginType":"core","aliases":[],"flags":{"message":{"name":"message","type":"option","char":"m","description":"The unique identifier of the message you want to flag.","required":false},"json":{"name":"json","type":"boolean","char":"j","description":"Output results in JSON. When not specified, returns output in a human friendly format.","required":false,"allowNo":false}},"args":[]},"chat:message:update":{"id":"chat:message:update","description":"Updates a message.","pluginName":"getstream-cli","pluginType":"core","aliases":[],"flags":{"message":{"name":"message","type":"option","char":"m","description":"The unique identifier for the message.","required":false},"text":{"name":"text","type":"option","char":"t","description":"The message you would like to send as text.","required":false},"attachments":{"name":"attachments","type":"option","char":"a","description":"A JSON payload of attachments to send along with a message.","required":false},"json":{"name":"json","type":"boolean","char":"j","description":"Output results in JSON. When not specified, returns output in a human friendly format.","required":false,"allowNo":false}},"args":[]},"chat:push:apn":{"id":"chat:push:apn","description":"Specifies APN for push notifications.","pluginName":"getstream-cli","pluginType":"core","aliases":[],"flags":{"auth_key":{"name":"auth_key","type":"option","char":"a","description":"Absolute path to .p8 auth key.","required":false},"key_id":{"name":"key_id","type":"option","char":"k","description":"Key ID.","required":false},"bundle_id":{"name":"bundle_id","type":"option","char":"b","description":"Bundle identifier (e.g. com.apple.test).","required":false},"team_id":{"name":"team_id","type":"option","char":"t","description":"Team ID.","required":false},"development":{"name":"development","type":"boolean","char":"d","description":"Use development endpoint","required":false,"allowNo":false},"p12_cert":{"name":"p12_cert","type":"option","char":"c","description":"Absolute path to .p12 file.","required":false},"notification_template":{"name":"notification_template","type":"option","char":"n","description":"JSON template for notifications.","required":false},"disable":{"name":"disable","type":"boolean","description":"Disable APN push notifications and clear config.","required":false,"allowNo":false},"json":{"name":"json","type":"boolean","char":"j","description":"Output results in JSON. When not specified, returns output in a human friendly format.","required":false,"allowNo":false}},"args":[]},"chat:push:firebase":{"id":"chat:push:firebase","description":"Specifies Firebase for push notifications.","pluginName":"getstream-cli","pluginType":"core","aliases":[],"flags":{"key":{"name":"key","type":"option","char":"k","description":"Server key for Firebase.","required":false},"notification_template":{"name":"notification_template","type":"option","char":"n","description":"JSON notification template.","required":false},"data_template":{"name":"data_template","type":"option","char":"d","description":"JSON data template.","required":false},"disable":{"name":"disable","type":"boolean","description":"Disable Firebase push notifications and clear config.","required":false,"allowNo":false},"json":{"name":"json","type":"boolean","char":"j","description":"Output results in JSON. When not specified, returns output in a human friendly format.","required":false,"allowNo":false}},"args":[]},"chat:push:get":{"id":"chat:push:get","description":"Gets push notification settings.","pluginName":"getstream-cli","pluginType":"core","aliases":[],"flags":{"json":{"name":"json","type":"boolean","char":"j","description":"Output results in JSON. When not specified, returns output in a human friendly format.","required":false,"allowNo":false}},"args":[]},"chat:push:test":{"id":"chat:push:test","description":"Tests push notifications.","pluginName":"getstream-cli","pluginType":"core","aliases":[],"flags":{"user_id":{"name":"user_id","type":"option","char":"u","description":"User ID","required":false},"message_id":{"name":"message_id","type":"option","char":"m","description":"Message ID.","required":false},"apn_notification_template":{"name":"apn_notification_template","type":"option","char":"a","description":"APN notification template","required":false},"firebase_notification_template":{"name":"firebase_notification_template","type":"option","char":"f","description":"Firebase notification template","required":false},"firebase_data_template":{"name":"firebase_data_template","type":"option","char":"d","description":"Firebase data template","required":false},"skip_devices":{"name":"skip_devices","type":"option","char":"s","description":"Skip devices","required":false},"json":{"name":"json","type":"boolean","char":"j","description":"Output results in JSON. When not specified, returns output in a human friendly format.","required":false,"allowNo":false}},"args":[]},"chat:push:webhook":{"id":"chat:push:webhook","description":"Sets push webhook URL","pluginName":"getstream-cli","pluginType":"core","aliases":[],"flags":{"url":{"name":"url","type":"option","char":"u","description":"A fully qualified URL for webhook support.","required":false},"json":{"name":"json","type":"boolean","char":"j","description":"Output results in JSON. When not specified, returns output in a human friendly format.","required":false,"allowNo":false}},"args":[]},"chat:reaction:create":{"id":"chat:reaction:create","description":"Creates a new reaction.","pluginName":"getstream-cli","pluginType":"core","aliases":[],"flags":{"channel":{"name":"channel","type":"option","char":"c","description":"The unique identifier for the channel.","required":false},"type":{"name":"type","type":"option","char":"t","description":"The type of channel.","required":false},"message":{"name":"message","type":"option","char":"c","description":"The unique identifier for the message.","required":false},"reaction":{"name":"reaction","type":"option","char":"r","description":"A reaction for the message (e.g. love).","required":false},"json":{"name":"json","type":"boolean","char":"j","description":"Output results in JSON. When not specified, returns output in a human friendly format.","required":false,"allowNo":false}},"args":[]},"chat:reaction:remove":{"id":"chat:reaction:remove","description":"Removes a reaction.","pluginName":"getstream-cli","pluginType":"core","aliases":[],"flags":{"channel":{"name":"channel","type":"option","char":"c","description":"The unique identifier for the channel.","required":false},"type":{"name":"type","type":"option","char":"t","description":"The type of channel.","required":false},"message":{"name":"message","type":"option","char":"c","description":"The unique identifier for the message.","required":false},"reaction":{"name":"reaction","type":"option","char":"r","description":"The unique identifier for the reaction.","required":false},"json":{"name":"json","type":"boolean","char":"j","description":"Output results in JSON. When not specified, returns output in a human friendly format.","required":false,"allowNo":false}},"args":[]},"chat:user:ban":{"id":"chat:user:ban","description":"Bans a user.","pluginName":"getstream-cli","pluginType":"core","aliases":[],"flags":{"type":{"name":"type","type":"option","char":"t","description":"Type of ban to perform (e.g. global or channel).","required":false},"user":{"name":"user","type":"option","char":"u","description":"The unique identifier of the user to ban.","required":false},"reason":{"name":"reason","type":"option","char":"r","description":"A reason for adding a timeout.","required":false},"duration":{"name":"duration","type":"option","char":"d","description":"Duration of timeout in minutes.","required":false,"default":"60"},"ip":{"name":"ip","type":"boolean","description":"Apply IP ban as well","required":false,"allowNo":false},"json":{"name":"json","type":"boolean","char":"j","description":"Output results in JSON. When not specified, returns output in a human friendly format.","required":false,"allowNo":false}},"args":[]},"chat:user:create":{"id":"chat:user:create","description":"Creates a new user.","pluginName":"getstream-cli","pluginType":"core","aliases":[],"flags":{"user":{"name":"user","type":"option","char":"u","description":"Comma separated list of users to add.","required":false},"role":{"name":"role","type":"option","char":"r","description":"The role to assign to the user.","required":false,"options":["admin","user"]},"json":{"name":"json","type":"boolean","char":"j","description":"Output results in JSON. When not specified, returns output in a human friendly format.","required":false,"allowNo":false}},"args":[]},"chat:user:deactivate":{"id":"chat:user:deactivate","description":"Allows for deactivating a user and wiping all of their messages.","pluginName":"getstream-cli","pluginType":"core","aliases":[],"flags":{"user":{"name":"user","type":"option","char":"m","description":"A unique ID of the user you would like to deactivate.","required":false},"hard":{"name":"hard","type":"option","char":"h","description":"Hard deletes all messages associated with the user.","required":false},"json":{"name":"json","type":"option","char":"j","description":"Output results in JSON. When not specified, returns output in a human friendly format.","required":false}},"args":[]},"chat:user:flag":{"id":"chat:user:flag","description":"Flags a user for bad behavior.","pluginName":"getstream-cli","pluginType":"core","aliases":[],"flags":{"user":{"name":"user","type":"option","char":"u","description":"The ID of the offending user.","required":false},"json":{"name":"json","type":"boolean","char":"j","description":"Output results in JSON. When not specified, returns output in a human friendly format.","required":false,"allowNo":false}},"args":[]},"chat:user:get":{"id":"chat:user:get","description":"Get a user by their unique ID.","pluginName":"getstream-cli","pluginType":"core","aliases":[],"flags":{"user":{"name":"user","type":"option","char":"u","description":"The unique identifier of the user to get.","required":false},"presence":{"name":"presence","type":"option","char":"p","description":"Display the current status of the user.","required":false},"json":{"name":"json","type":"boolean","char":"j","description":"Output results in JSON. When not specified, returns output in a human friendly format.","required":false,"allowNo":false}},"args":[]},"chat:user:mute":{"id":"chat:user:mute","description":"Mutes a user.","pluginName":"getstream-cli","pluginType":"core","aliases":[],"flags":{"user":{"name":"user","type":"option","char":"u","description":"The unique identifier of the user to mute.","required":false},"json":{"name":"json","type":"boolean","char":"j","description":"Output results in JSON. When not specified, returns output in a human friendly format.","required":false,"allowNo":false}},"args":[]},"chat:user:query":{"id":"chat:user:query","description":"Queries all users.","pluginName":"getstream-cli","pluginType":"core","aliases":[],"flags":{"query":{"name":"query","type":"option","char":"q","description":"The query you would like to perform.","required":false},"sort":{"name":"sort","type":"option","char":"s","description":"Display the current status of the user.","required":false},"limit":{"name":"limit","type":"option","char":"l","description":"The limit to apply to the query.","required":false},"offset":{"name":"offset","type":"option","char":"o","description":"The offset to apply to the query.","required":false},"json":{"name":"json","type":"boolean","char":"j","description":"Output results in JSON. When not specified, returns output in a human friendly format.","required":false,"allowNo":false}},"args":[]},"chat:user:reactivate":{"id":"chat:user:reactivate","description":"Reactivates a user who was previously deactivated.","pluginName":"getstream-cli","pluginType":"core","aliases":[],"flags":{"user":{"name":"user","type":"option","char":"m","description":"A unique ID of the user you would like to reactivate.","required":false},"restore":{"name":"restore","type":"option","char":"r","description":"Restores all deleted messages associated with the user.","required":false},"json":{"name":"json","type":"option","char":"j","description":"Output results in JSON. When not specified, returns output in a human friendly format.","required":false}},"args":[]},"chat:user:remove":{"id":"chat:user:remove","description":"Allows for deactivating a user and wiping all of their messages.","pluginName":"getstream-cli","pluginType":"core","aliases":[],"flags":{"user":{"name":"user","type":"option","char":"m","description":"A unique ID of the user you would like to remove.","required":false},"json":{"name":"json","type":"option","char":"j","description":"Output results in JSON. When not specified, returns output in a human friendly format.","required":false}},"args":[]},"chat:user:unban":{"id":"chat:user:unban","description":"Unbans a user.","pluginName":"getstream-cli","pluginType":"core","aliases":[],"flags":{"user":{"name":"user","type":"option","char":"u","description":"The unique identifier of the user to unban.","required":false},"json":{"name":"json","type":"boolean","char":"j","description":"Output results in JSON. When not specified, returns output in a human friendly format.","required":false,"allowNo":false}},"args":[]},"chat:user:unflag":{"id":"chat:user:unflag","description":"Unflags a user.","pluginName":"getstream-cli","pluginType":"core","aliases":[],"flags":{"user":{"name":"user","type":"option","char":"u","description":"The ID of the offending user.","required":false},"json":{"name":"json","type":"boolean","char":"j","description":"Output results in JSON. When not specified, returns output in a human friendly format.","required":false,"allowNo":false}},"args":[]},"chat:user:unmute":{"id":"chat:user:unmute","description":"Unmutes a user.","pluginName":"getstream-cli","pluginType":"core","aliases":[],"flags":{"user":{"name":"user","type":"option","char":"u","description":"The unique identifier of the user to unmute.","required":false},"json":{"name":"json","type":"boolean","char":"j","description":"Output results in JSON. When not specified, returns output in a human friendly format.","required":false,"allowNo":false}},"args":[]},"chat:user:update":{"id":"chat:user:update","description":"Updates a user.","pluginName":"getstream-cli","pluginType":"core","aliases":[],"flags":{"id":{"name":"id","type":"option","char":"i","description":"The unique identifier for the user.","required":false},"name":{"name":"name","type":"option","char":"n","description":"Name of the user.","required":false},"image":{"name":"image","type":"option","char":"m","description":"URL to the image of the user.","required":false}},"args":[]},"chat:webhook:before-message-send":{"id":"chat:webhook:before-message-send","description":"Sets before message send webhook URL","pluginName":"getstream-cli","pluginType":"core","aliases":[],"flags":{"url":{"name":"url","type":"option","char":"u","description":"A fully qualified URL for webhook support.","required":false},"json":{"name":"json","type":"boolean","char":"j","description":"Output results in JSON. When not specified, returns output in a human friendly format.","required":false,"allowNo":false}},"args":[]},"chat:webhook:custom-commands":{"id":"chat:webhook:custom-commands","description":"Sets custom commands webhook URL","pluginName":"getstream-cli","pluginType":"core","aliases":[],"flags":{"url":{"name":"url","type":"option","char":"u","description":"A fully qualified URL for webhook support.","required":false},"json":{"name":"json","type":"boolean","char":"j","description":"Output results in JSON. When not specified, returns output in a human friendly format.","required":false,"allowNo":false}},"args":[]},"chat:webhook:push":{"id":"chat:webhook:push","description":"Sets push webhook URL","pluginName":"getstream-cli","pluginType":"core","aliases":[],"flags":{"url":{"name":"url","type":"option","char":"u","description":"A fully qualified URL for webhook support.","required":false},"json":{"name":"json","type":"boolean","char":"j","description":"Output results in JSON. When not specified, returns output in a human friendly format.","required":false,"allowNo":false}},"args":[]},"chat:push:device:add":{"id":"chat:push:device:add","description":"Adds a new device for push.","pluginName":"getstream-cli","pluginType":"core","aliases":[],"flags":{"user_id":{"name":"user_id","type":"option","char":"u","description":"User ID","required":false},"device_id":{"name":"device_id","type":"option","char":"d","description":"Device id or token.","required":false},"provider":{"name":"provider","type":"option","char":"p","description":"Push provider","required":false}},"args":[]},"chat:push:device:delete":{"id":"chat:push:device:delete","description":"Removes a device from push.","pluginName":"getstream-cli","pluginType":"core","aliases":[],"flags":{"user_id":{"name":"user_id","type":"option","char":"u","description":"User ID","required":false},"device_id":{"name":"device_id","type":"option","char":"d","description":"Device id or token.","required":false}},"args":[]},"chat:push:device:get":{"id":"chat:push:device:get","description":"Gets all devices registered for push.","pluginName":"getstream-cli","pluginType":"core","aliases":[],"flags":{"user_id":{"name":"user_id","type":"option","char":"u","description":"User ID","required":false}},"args":[]}}} \ No newline at end of file +{"version":"0.3.0","commands":{"config:destroy":{"id":"config:destroy","description":"Destroys your user configuration.","pluginName":"getstream-cli","pluginType":"core","aliases":[],"flags":{"force":{"name":"force","type":"boolean","char":"f","description":"Force remove Stream configuration from cache.","required":false,"allowNo":false}},"args":[]},"config:get":{"id":"config:get","description":"Outputs your user configuration.","pluginName":"getstream-cli","pluginType":"core","aliases":[],"flags":{"json":{"name":"json","type":"boolean","char":"j","description":"Output results in JSON. When not specified, returns output in a human friendly format.","required":false,"allowNo":false}},"args":[]},"config:set":{"id":"config:set","description":"Sets your user configuration.","pluginName":"getstream-cli","pluginType":"core","aliases":[],"flags":{"name":{"name":"name","type":"option","char":"n","description":"Full name for configuration.","required":false},"email":{"name":"email","type":"option","char":"e","description":"Email for configuration.","required":false},"key":{"name":"key","type":"option","char":"k","description":"API key for configuration.","required":false},"secret":{"name":"secret","type":"option","char":"s","description":"API secret for configuration.","required":false},"url":{"name":"url","type":"option","char":"u","description":"API base URL for configuration.","required":false},"environment":{"name":"environment","type":"option","char":"v","description":"Environment to run in (production or development for token and permission checking).","required":false},"telemetry":{"name":"telemetry","type":"boolean","char":"t","description":"Enable error reporting for debugging purposes.","required":false,"allowNo":false},"timeout":{"name":"timeout","type":"option","char":"o","description":"Timeout for requests in ms.","required":false},"json":{"name":"json","type":"boolean","char":"j","description":"Output results in JSON. When not specified, returns output in a human friendly format.","required":false,"allowNo":false}},"args":[]},"debug:token":{"id":"debug:token","description":"Debugs a JWT token provided by Stream.","pluginName":"getstream-cli","pluginType":"core","aliases":[],"flags":{"token":{"name":"token","type":"option","char":"t","description":"The Stream token you are trying to debug.","required":false},"json":{"name":"json","type":"boolean","char":"j","description":"Output results in JSON. When not specified, returns output in a human friendly format.","required":false,"allowNo":false}},"args":[]},"chat:channel:add_member":{"id":"chat:channel:add_member","description":"Adds a member to a channel.","pluginName":"getstream-cli","pluginType":"core","aliases":[],"flags":{"channel":{"name":"channel","type":"option","char":"c","description":"A unique ID for the channel add the user to.","required":false},"type":{"name":"type","type":"option","char":"t","description":"Type of channel.","required":false},"name":{"name":"name","type":"option","char":"n","description":"Name of the channel room.","required":false},"image":{"name":"image","type":"option","char":"i","description":"URL to channel image.","required":false},"user":{"name":"user","type":"option","char":"u","description":"Unique identifier for the user you are adding.","required":false},"data":{"name":"data","type":"option","char":"r","description":"The role of the user you are adding.","required":false},"json":{"name":"json","type":"boolean","char":"j","description":"Output results in JSON. When not specified, returns output in a human friendly format.","required":false,"allowNo":false}},"args":[]},"chat:channel:create":{"id":"chat:channel:create","description":"Creates a new channel.","pluginName":"getstream-cli","pluginType":"core","aliases":[],"flags":{"channel":{"name":"channel","type":"option","char":"c","description":"A unique ID for the channel you wish to create.","required":false,"default":"7d72deb6-45ae-4909-b134-67424fe958c2"},"type":{"name":"type","type":"option","char":"t","description":"Type of channel.","required":false},"name":{"name":"name","type":"option","char":"n","description":"Name of the channel room.","required":false},"image":{"name":"image","type":"option","char":"i","description":"URL to channel image.","required":false},"users":{"name":"users","type":"option","char":"u","description":"Comma separated list of users to add.","required":false},"data":{"name":"data","type":"option","char":"d","description":"Additional data as JSON.","required":false},"json":{"name":"json","type":"boolean","char":"j","description":"Output results in JSON. When not specified, returns output in a human friendly format.","required":false,"allowNo":false}},"args":[]},"chat:channel:demote_moderator":{"id":"chat:channel:demote_moderator","description":"Demotes a moderator from a channel.","pluginName":"getstream-cli","pluginType":"core","aliases":[],"flags":{"channel":{"name":"channel","type":"option","char":"c","description":"A unique ID for the channel you wish to create.","required":false},"type":{"name":"type","type":"option","char":"t","description":"Type of channel.","required":false},"user":{"name":"user","type":"option","char":"u","description":"A unique ID for user to demote from a moderator.","required":false}},"args":[]},"chat:channel:get":{"id":"chat:channel:get","description":"Gets a specific channel by its ID and type.","pluginName":"getstream-cli","pluginType":"core","aliases":[],"flags":{"channel":{"name":"channel","type":"option","char":"c","description":"The channel ID you wish to retrieve.","required":false},"type":{"name":"type","type":"option","char":"t","description":"Type of channel.","required":false}},"args":[]},"chat:channel:hide":{"id":"chat:channel:hide","description":"Hides a channel.","pluginName":"getstream-cli","pluginType":"core","aliases":[],"flags":{"user":{"name":"user","type":"option","char":"u","description":"User ID","required":false},"channel":{"name":"channel","type":"option","char":"c","description":"The channel ID you wish to remove.","required":false},"type":{"name":"type","type":"option","char":"t","description":"Type of channel.","required":false}},"args":[]},"chat:channel:list":{"id":"chat:channel:list","description":"Lists all channels.","pluginName":"getstream-cli","pluginType":"core","aliases":[],"flags":{"limit":{"name":"limit","type":"option","char":"l","description":"Channel list limit.","required":true},"offset":{"name":"offset","type":"option","char":"o","description":"Channel list offset.","required":true}},"args":[]},"chat:channel:promote_moderator":{"id":"chat:channel:promote_moderator","description":"Promotes a user to a moderator in a channel.","pluginName":"getstream-cli","pluginType":"core","aliases":[],"flags":{"channel":{"name":"channel","type":"option","char":"c","description":"A unique ID for the channel you wish to create.","required":false},"type":{"name":"type","type":"option","char":"t","description":"Type of channel.","required":false},"user":{"name":"user","type":"option","char":"u","description":"A unique ID for user user to demote.","required":false}},"args":[]},"chat:channel:query":{"id":"chat:channel:query","description":"Queries all channels.","pluginName":"getstream-cli","pluginType":"core","aliases":[],"flags":{"channel":{"name":"channel","type":"option","char":"c","description":"The unique identifier for the channel you want to query.","required":false},"type":{"name":"type","type":"option","char":"t","description":"Type of channel.","required":false},"filter":{"name":"filter","type":"option","char":"f","description":"Filters to apply to the query.","required":false},"sort":{"name":"sort","type":"option","char":"s","description":"Sort to apply to the query.","required":false},"json":{"name":"json","type":"boolean","char":"j","description":"Output results in JSON. When not specified, returns output in a human friendly format.","required":false,"allowNo":false}},"args":[]},"chat:channel:remove":{"id":"chat:channel:remove","description":"Removes a channel.","pluginName":"getstream-cli","pluginType":"core","aliases":[],"flags":{"channel":{"name":"channel","type":"option","char":"c","description":"The channel ID you wish to remove.","required":false},"type":{"name":"type","type":"option","char":"t","description":"Type of channel.","required":false}},"args":[]},"chat:channel:show":{"id":"chat:channel:show","description":"Unhindes (shows) a channel.","pluginName":"getstream-cli","pluginType":"core","aliases":[],"flags":{"user":{"name":"user","type":"option","char":"u","description":"User ID","required":false},"channel":{"name":"channel","type":"option","char":"c","description":"The channel ID you wish to remove.","required":false},"type":{"name":"type","type":"option","char":"t","description":"Type of channel.","required":false}},"args":[]},"chat:channel:type":{"id":"chat:channel:type","description":"Updates a channels type configuration.","pluginName":"getstream-cli","pluginType":"core","aliases":[],"flags":{"channel":{"name":"channel","type":"option","char":"c","description":"The ID of the channel you wish to update.","required":false},"type":{"name":"type","type":"option","char":"t","description":"Type of channel.","required":false},"name":{"name":"name","type":"option","char":"n","description":"Name of the channel room.","required":false},"image":{"name":"image","type":"option","char":"i","description":"URL to the channel image.","required":false},"description":{"name":"description","type":"option","char":"d","description":"Description for the channel.","required":false},"reason":{"name":"reason","type":"option","char":"r","description":"Reason for changing channel.","required":false},"json":{"name":"json","type":"boolean","char":"j","description":"Output results in JSON. When not specified, returns output in a human friendly format.","required":false,"allowNo":false}},"args":[]},"chat:channel:update":{"id":"chat:channel:update","description":"Updates a channel.","pluginName":"getstream-cli","pluginType":"core","aliases":[],"flags":{"channel":{"name":"channel","type":"option","char":"c","description":"The ID of the channel you wish to update.","required":false},"type":{"name":"type","type":"option","char":"t","description":"Type of channel.","required":false},"name":{"name":"name","type":"option","char":"n","description":"Name of the channel room.","required":false},"image":{"name":"image","type":"option","char":"i","description":"URL to the channel image.","required":false},"description":{"name":"description","type":"option","char":"d","description":"Description for the channel.","required":false},"reason":{"name":"reason","type":"option","char":"r","description":"Reason for changing channel.","required":false},"json":{"name":"json","type":"boolean","char":"j","description":"Output results in JSON. When not specified, returns output in a human friendly format.","required":false,"allowNo":false}},"args":[]},"chat:channel:update_type":{"id":"chat:channel:update_type","description":"Updates a channels type configuration.","pluginName":"getstream-cli","pluginType":"core","aliases":[],"flags":{"type":{"name":"type","type":"option","char":"t","description":"Type of channel.","required":false},"replies":{"name":"replies","type":"boolean","char":"p","description":"Enable or disable replies (true/false)","required":false,"allowNo":false},"typing_events":{"name":"typing_events","type":"boolean","char":"y","description":"Enable or disable typing events (true/false)","required":false,"allowNo":false},"read_events":{"name":"read_events","type":"option","char":"e","description":"Enable or disable read events (true/false)","required":false},"connect_events":{"name":"connect_events","type":"boolean","char":"c","description":"Enable or disable connect events (true/false)","required":false,"allowNo":false},"search":{"name":"search","type":"boolean","char":"s","description":"Enable or disable search (true/false)","required":false,"allowNo":false},"reactions":{"name":"reactions","type":"boolean","char":"a","description":"Enable or disable reactions (true/false)","required":false,"allowNo":false},"mutes":{"name":"mutes","type":"boolean","char":"m","description":"Enable or disable mutes (true/false)","required":false,"allowNo":false},"automod":{"name":"automod","type":"option","char":"a","description":"Enable or disable automod (enabled/disabled)","required":false},"message_retention":{"name":"message_retention","type":"option","char":"a","description":"How long to retain messages (defaults to infinite)","required":false},"json":{"name":"json","type":"boolean","char":"j","description":"Output results in JSON. When not specified, returns output in a human friendly format.","required":false,"allowNo":false}},"args":[]},"chat:log":{"id":"chat:log","description":"Logs events in realtime.","pluginName":"getstream-cli","pluginType":"core","aliases":[],"flags":{"channel":{"name":"channel","type":"option","char":"c","description":"The channel ID you wish to log.","required":false},"type":{"name":"type","type":"option","char":"t","description":"The type of channel.","required":false},"event":{"name":"event","type":"option","char":"e","description":"The type of event you want to listen on.","required":false,"options":["all","user.status.changed","user.watching.start","user.watching.stop","user.updated","typing.start","typing.stop","message.new","message.updated","message.deleted","message.seen","message.reaction","member.added","member.removed","channel.updated","health.check","connection.changed","connection.recovered"]},"json":{"name":"json","type":"boolean","char":"j","description":"Output results in JSON. When not specified, returns output in a human friendly format.","required":false,"allowNo":false}},"args":[]},"chat:message:create":{"id":"chat:message:create","description":"Creates a new message.","pluginName":"getstream-cli","pluginType":"core","aliases":[],"flags":{"user":{"name":"user","type":"option","char":"u","description":"The ID of the user sending the message.","required":false},"name":{"name":"name","type":"option","char":"n","description":"The name of the user sending the message.","required":false},"image":{"name":"image","type":"option","char":"i","description":"Absolute URL for an avatar of the user sending the message.","required":false},"type":{"name":"type","type":"option","char":"t","description":"The type of channel.","required":false},"channel":{"name":"channel","type":"option","char":"c","description":"The ID of the channel that you would like to send a message to.","required":false},"message":{"name":"message","type":"option","char":"m","description":"The message you would like to send as plaintext.","required":false},"json":{"name":"json","type":"boolean","char":"j","description":"Output results in JSON. When not specified, returns output in a human friendly format.","required":false,"allowNo":false}},"args":[]},"chat:message:flag":{"id":"chat:message:flag","description":"Flags a message.","pluginName":"getstream-cli","pluginType":"core","aliases":[],"flags":{"message":{"name":"message","type":"option","char":"m","description":"The unique identifier of the message you want to flag.","required":false},"json":{"name":"json","type":"boolean","char":"j","description":"Output results in JSON. When not specified, returns output in a human friendly format.","required":false,"allowNo":false}},"args":[]},"chat:message:list":{"id":"chat:message:list","description":"Lists all messages.","pluginName":"getstream-cli","pluginType":"core","aliases":[],"flags":{"type":{"name":"type","type":"option","char":"t","description":"The type of channel.","required":false},"channel":{"name":"channel","type":"option","char":"c","description":"The ID of the channel that you would like to send a message to.","required":false},"json":{"name":"json","type":"boolean","char":"j","description":"Output results in JSON. When not specified, returns output in a human friendly format.","required":false,"allowNo":false}},"args":[]},"chat:message:remove":{"id":"chat:message:remove","description":"Removes a message.","pluginName":"getstream-cli","pluginType":"core","aliases":[],"flags":{"message":{"name":"message","type":"option","char":"message","description":"The unique identifier of the message you would like to remove.","required":false},"json":{"name":"json","type":"boolean","char":"j","description":"Output results in JSON. When not specified, returns output in a human friendly format.","required":false,"allowNo":false}},"args":[]},"chat:message:unflag":{"id":"chat:message:unflag","description":"Unflags a message.","pluginName":"getstream-cli","pluginType":"core","aliases":[],"flags":{"message":{"name":"message","type":"option","char":"m","description":"The unique identifier of the message you want to flag.","required":false},"json":{"name":"json","type":"boolean","char":"j","description":"Output results in JSON. When not specified, returns output in a human friendly format.","required":false,"allowNo":false}},"args":[]},"chat:message:update":{"id":"chat:message:update","description":"Updates a message.","pluginName":"getstream-cli","pluginType":"core","aliases":[],"flags":{"message":{"name":"message","type":"option","char":"m","description":"The unique identifier for the message.","required":false},"text":{"name":"text","type":"option","char":"t","description":"The message you would like to send as text.","required":false},"attachments":{"name":"attachments","type":"option","char":"a","description":"A JSON payload of attachments to send along with a message.","required":false},"json":{"name":"json","type":"boolean","char":"j","description":"Output results in JSON. When not specified, returns output in a human friendly format.","required":false,"allowNo":false}},"args":[]},"chat:push:apn":{"id":"chat:push:apn","description":"Specifies APN for push notifications.","pluginName":"getstream-cli","pluginType":"core","aliases":[],"flags":{"auth_key":{"name":"auth_key","type":"option","char":"a","description":"Absolute path to .p8 auth key.","required":false},"key_id":{"name":"key_id","type":"option","char":"k","description":"Key ID.","required":false},"bundle_id":{"name":"bundle_id","type":"option","char":"b","description":"Bundle identifier (e.g. com.apple.test).","required":false},"team_id":{"name":"team_id","type":"option","char":"t","description":"Team ID.","required":false},"development":{"name":"development","type":"boolean","char":"d","description":"Use development endpoint","required":false,"allowNo":false},"p12_cert":{"name":"p12_cert","type":"option","char":"c","description":"Absolute path to .p12 file.","required":false},"notification_template":{"name":"notification_template","type":"option","char":"n","description":"JSON template for notifications.","required":false},"disable":{"name":"disable","type":"boolean","description":"Disable APN push notifications and clear config.","required":false,"allowNo":false},"json":{"name":"json","type":"boolean","char":"j","description":"Output results in JSON. When not specified, returns output in a human friendly format.","required":false,"allowNo":false}},"args":[]},"chat:push:firebase":{"id":"chat:push:firebase","description":"Specifies Firebase for push notifications.","pluginName":"getstream-cli","pluginType":"core","aliases":[],"flags":{"key":{"name":"key","type":"option","char":"k","description":"Server key for Firebase.","required":false},"notification_template":{"name":"notification_template","type":"option","char":"n","description":"JSON notification template.","required":false},"data_template":{"name":"data_template","type":"option","char":"d","description":"JSON data template.","required":false},"disable":{"name":"disable","type":"boolean","description":"Disable Firebase push notifications and clear config.","required":false,"allowNo":false},"json":{"name":"json","type":"boolean","char":"j","description":"Output results in JSON. When not specified, returns output in a human friendly format.","required":false,"allowNo":false}},"args":[]},"chat:push:get":{"id":"chat:push:get","description":"Gets push notification settings.","pluginName":"getstream-cli","pluginType":"core","aliases":[],"flags":{"json":{"name":"json","type":"boolean","char":"j","description":"Output results in JSON. When not specified, returns output in a human friendly format.","required":false,"allowNo":false}},"args":[]},"chat:push:test":{"id":"chat:push:test","description":"Tests push notifications.","pluginName":"getstream-cli","pluginType":"core","aliases":[],"flags":{"user_id":{"name":"user_id","type":"option","char":"u","description":"User ID","required":false},"message_id":{"name":"message_id","type":"option","char":"m","description":"Message ID.","required":false},"apn_notification_template":{"name":"apn_notification_template","type":"option","char":"a","description":"APN notification template","required":false},"firebase_notification_template":{"name":"firebase_notification_template","type":"option","char":"f","description":"Firebase notification template","required":false},"firebase_data_template":{"name":"firebase_data_template","type":"option","char":"d","description":"Firebase data template","required":false},"skip_devices":{"name":"skip_devices","type":"option","char":"s","description":"Skip devices","required":false},"json":{"name":"json","type":"boolean","char":"j","description":"Output results in JSON. When not specified, returns output in a human friendly format.","required":false,"allowNo":false}},"args":[]},"chat:push:webhook":{"id":"chat:push:webhook","description":"Sets push webhook URL","pluginName":"getstream-cli","pluginType":"core","aliases":[],"flags":{"url":{"name":"url","type":"option","char":"u","description":"A fully qualified URL for webhook support.","required":false},"json":{"name":"json","type":"boolean","char":"j","description":"Output results in JSON. When not specified, returns output in a human friendly format.","required":false,"allowNo":false}},"args":[]},"chat:reaction:create":{"id":"chat:reaction:create","description":"Creates a new reaction.","pluginName":"getstream-cli","pluginType":"core","aliases":[],"flags":{"channel":{"name":"channel","type":"option","char":"c","description":"The unique identifier for the channel.","required":false},"type":{"name":"type","type":"option","char":"t","description":"The type of channel.","required":false},"message":{"name":"message","type":"option","char":"c","description":"The unique identifier for the message.","required":false},"reaction":{"name":"reaction","type":"option","char":"r","description":"A reaction for the message (e.g. love).","required":false},"json":{"name":"json","type":"boolean","char":"j","description":"Output results in JSON. When not specified, returns output in a human friendly format.","required":false,"allowNo":false}},"args":[]},"chat:reaction:remove":{"id":"chat:reaction:remove","description":"Removes a reaction.","pluginName":"getstream-cli","pluginType":"core","aliases":[],"flags":{"channel":{"name":"channel","type":"option","char":"c","description":"The unique identifier for the channel.","required":false},"type":{"name":"type","type":"option","char":"t","description":"The type of channel.","required":false},"message":{"name":"message","type":"option","char":"c","description":"The unique identifier for the message.","required":false},"reaction":{"name":"reaction","type":"option","char":"r","description":"The unique identifier for the reaction.","required":false},"json":{"name":"json","type":"boolean","char":"j","description":"Output results in JSON. When not specified, returns output in a human friendly format.","required":false,"allowNo":false}},"args":[]},"chat:user:ban":{"id":"chat:user:ban","description":"Bans a user.","pluginName":"getstream-cli","pluginType":"core","aliases":[],"flags":{"type":{"name":"type","type":"option","char":"t","description":"Type of ban to perform (e.g. global or channel).","required":false},"user":{"name":"user","type":"option","char":"u","description":"The unique identifier of the user to ban.","required":false},"reason":{"name":"reason","type":"option","char":"r","description":"A reason for adding a timeout.","required":false},"duration":{"name":"duration","type":"option","char":"d","description":"Duration of timeout in minutes.","required":false,"default":"60"},"ip":{"name":"ip","type":"boolean","description":"Apply IP ban as well","required":false,"allowNo":false},"json":{"name":"json","type":"boolean","char":"j","description":"Output results in JSON. When not specified, returns output in a human friendly format.","required":false,"allowNo":false}},"args":[]},"chat:user:create":{"id":"chat:user:create","description":"Creates a new user.","pluginName":"getstream-cli","pluginType":"core","aliases":[],"flags":{"user":{"name":"user","type":"option","char":"u","description":"Comma separated list of users to add.","required":false},"role":{"name":"role","type":"option","char":"r","description":"The role to assign to the user.","required":false,"options":["admin","user"]},"json":{"name":"json","type":"boolean","char":"j","description":"Output results in JSON. When not specified, returns output in a human friendly format.","required":false,"allowNo":false}},"args":[]},"chat:user:deactivate":{"id":"chat:user:deactivate","description":"Allows for deactivating a user and wiping all of their messages.","pluginName":"getstream-cli","pluginType":"core","aliases":[],"flags":{"user":{"name":"user","type":"option","char":"m","description":"A unique ID of the user you would like to deactivate.","required":false},"hard":{"name":"hard","type":"option","char":"h","description":"Hard deletes all messages associated with the user.","required":false},"json":{"name":"json","type":"option","char":"j","description":"Output results in JSON. When not specified, returns output in a human friendly format.","required":false}},"args":[]},"chat:user:flag":{"id":"chat:user:flag","description":"Flags a user for bad behavior.","pluginName":"getstream-cli","pluginType":"core","aliases":[],"flags":{"user":{"name":"user","type":"option","char":"u","description":"The ID of the offending user.","required":false},"json":{"name":"json","type":"boolean","char":"j","description":"Output results in JSON. When not specified, returns output in a human friendly format.","required":false,"allowNo":false}},"args":[]},"chat:user:get":{"id":"chat:user:get","description":"Get a user by their unique ID.","pluginName":"getstream-cli","pluginType":"core","aliases":[],"flags":{"user":{"name":"user","type":"option","char":"u","description":"The unique identifier of the user to get.","required":false},"presence":{"name":"presence","type":"option","char":"p","description":"Display the current status of the user.","required":false},"json":{"name":"json","type":"boolean","char":"j","description":"Output results in JSON. When not specified, returns output in a human friendly format.","required":false,"allowNo":false}},"args":[]},"chat:user:mute":{"id":"chat:user:mute","description":"Mutes a user.","pluginName":"getstream-cli","pluginType":"core","aliases":[],"flags":{"user":{"name":"user","type":"option","char":"u","description":"The unique identifier of the user to mute.","required":false},"json":{"name":"json","type":"boolean","char":"j","description":"Output results in JSON. When not specified, returns output in a human friendly format.","required":false,"allowNo":false}},"args":[]},"chat:user:query":{"id":"chat:user:query","description":"Queries all users.","pluginName":"getstream-cli","pluginType":"core","aliases":[],"flags":{"query":{"name":"query","type":"option","char":"q","description":"The query you would like to perform.","required":false},"sort":{"name":"sort","type":"option","char":"s","description":"Display the current status of the user.","required":false},"limit":{"name":"limit","type":"option","char":"l","description":"The limit to apply to the query.","required":false},"offset":{"name":"offset","type":"option","char":"o","description":"The offset to apply to the query.","required":false},"json":{"name":"json","type":"boolean","char":"j","description":"Output results in JSON. When not specified, returns output in a human friendly format.","required":false,"allowNo":false}},"args":[]},"chat:user:reactivate":{"id":"chat:user:reactivate","description":"Reactivates a user who was previously deactivated.","pluginName":"getstream-cli","pluginType":"core","aliases":[],"flags":{"user":{"name":"user","type":"option","char":"m","description":"A unique ID of the user you would like to reactivate.","required":false},"restore":{"name":"restore","type":"option","char":"r","description":"Restores all deleted messages associated with the user.","required":false},"json":{"name":"json","type":"option","char":"j","description":"Output results in JSON. When not specified, returns output in a human friendly format.","required":false}},"args":[]},"chat:user:remove":{"id":"chat:user:remove","description":"Allows for deactivating a user and wiping all of their messages.","pluginName":"getstream-cli","pluginType":"core","aliases":[],"flags":{"user":{"name":"user","type":"option","char":"m","description":"A unique ID of the user you would like to remove.","required":false},"json":{"name":"json","type":"option","char":"j","description":"Output results in JSON. When not specified, returns output in a human friendly format.","required":false}},"args":[]},"chat:user:unban":{"id":"chat:user:unban","description":"Unbans a user.","pluginName":"getstream-cli","pluginType":"core","aliases":[],"flags":{"user":{"name":"user","type":"option","char":"u","description":"The unique identifier of the user to unban.","required":false},"json":{"name":"json","type":"boolean","char":"j","description":"Output results in JSON. When not specified, returns output in a human friendly format.","required":false,"allowNo":false}},"args":[]},"chat:user:unflag":{"id":"chat:user:unflag","description":"Unflags a user.","pluginName":"getstream-cli","pluginType":"core","aliases":[],"flags":{"user":{"name":"user","type":"option","char":"u","description":"The ID of the offending user.","required":false},"json":{"name":"json","type":"boolean","char":"j","description":"Output results in JSON. When not specified, returns output in a human friendly format.","required":false,"allowNo":false}},"args":[]},"chat:user:unmute":{"id":"chat:user:unmute","description":"Unmutes a user.","pluginName":"getstream-cli","pluginType":"core","aliases":[],"flags":{"user":{"name":"user","type":"option","char":"u","description":"The unique identifier of the user to unmute.","required":false},"json":{"name":"json","type":"boolean","char":"j","description":"Output results in JSON. When not specified, returns output in a human friendly format.","required":false,"allowNo":false}},"args":[]},"chat:user:update":{"id":"chat:user:update","description":"Updates a user.","pluginName":"getstream-cli","pluginType":"core","aliases":[],"flags":{"id":{"name":"id","type":"option","char":"i","description":"The unique identifier for the user.","required":false},"name":{"name":"name","type":"option","char":"n","description":"Name of the user.","required":false},"image":{"name":"image","type":"option","char":"m","description":"URL to the image of the user.","required":false}},"args":[]},"chat:webhook:before-message-send":{"id":"chat:webhook:before-message-send","description":"Sets before message send webhook URL","pluginName":"getstream-cli","pluginType":"core","aliases":[],"flags":{"url":{"name":"url","type":"option","char":"u","description":"A fully qualified URL for webhook support.","required":false},"json":{"name":"json","type":"boolean","char":"j","description":"Output results in JSON. When not specified, returns output in a human friendly format.","required":false,"allowNo":false}},"args":[]},"chat:webhook:custom-commands":{"id":"chat:webhook:custom-commands","description":"Sets custom commands webhook URL","pluginName":"getstream-cli","pluginType":"core","aliases":[],"flags":{"url":{"name":"url","type":"option","char":"u","description":"A fully qualified URL for webhook support.","required":false},"json":{"name":"json","type":"boolean","char":"j","description":"Output results in JSON. When not specified, returns output in a human friendly format.","required":false,"allowNo":false}},"args":[]},"chat:webhook:push":{"id":"chat:webhook:push","description":"Sets push webhook URL","pluginName":"getstream-cli","pluginType":"core","aliases":[],"flags":{"url":{"name":"url","type":"option","char":"u","description":"A fully qualified URL for webhook support.","required":false},"json":{"name":"json","type":"boolean","char":"j","description":"Output results in JSON. When not specified, returns output in a human friendly format.","required":false,"allowNo":false}},"args":[]},"chat:push:device:add":{"id":"chat:push:device:add","description":"Adds a new device for push.","pluginName":"getstream-cli","pluginType":"core","aliases":[],"flags":{"user_id":{"name":"user_id","type":"option","char":"u","description":"User ID","required":false},"device_id":{"name":"device_id","type":"option","char":"d","description":"Device id or token.","required":false},"provider":{"name":"provider","type":"option","char":"p","description":"Push provider","required":false}},"args":[]},"chat:push:device:delete":{"id":"chat:push:device:delete","description":"Removes a device from push.","pluginName":"getstream-cli","pluginType":"core","aliases":[],"flags":{"user_id":{"name":"user_id","type":"option","char":"u","description":"User ID","required":false},"device_id":{"name":"device_id","type":"option","char":"d","description":"Device id or token.","required":false}},"args":[]},"chat:push:device:get":{"id":"chat:push:device:get","description":"Gets all devices registered for push.","pluginName":"getstream-cli","pluginType":"core","aliases":[],"flags":{"user_id":{"name":"user_id","type":"option","char":"u","description":"User ID","required":false}},"args":[]}}} \ No newline at end of file diff --git a/package.json b/package.json index ed32be6..2c59c8f 100644 --- a/package.json +++ b/package.json @@ -1,7 +1,7 @@ { "name": "getstream-cli", "description": "Configure & manage Stream applications from the command line. 🚀", - "version": "0.2.4", + "version": "0.3.0", "bin": { "stream": "./build/bin/run" },