getstream-cli
Advanced tools
Comparing version 0.0.1-beta.58 to 0.0.1
@@ -1,1 +0,1 @@ | ||
{"version":"0.0.1-beta.56","commands":{"config:destroy":{"id":"config:destroy","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","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","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},"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","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:create":{"id":"chat:channel:create","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":"7b6ce218-444e-49e6-8a9d-06395f43cf47"},"type":{"name":"type","type":"option","char":"t","description":"Type of channel.","required":false,"options":["livestream","messaging","gaming","commerce","team"]},"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},"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:get":{"id":"chat:channel:get","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,"options":["livestream","messaging","gaming","commerce","team"]}},"args":[]},"chat:channel:list":{"id":"chat:channel:list","pluginName":"getstream-cli","pluginType":"core","aliases":[],"flags":{},"args":[]},"chat:channel:query":{"id":"chat:channel:query","pluginName":"getstream-cli","pluginType":"core","aliases":[],"flags":{"channel":{"name":"channel","type":"option","char":"c","description":"The unique indentifier for the channel you want to query.","required":false},"type":{"name":"type","type":"option","char":"t","description":"Type of channel.","required":false,"options":["livestream","messaging","gaming","commerce","team"]},"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:update":{"id":"chat:channel:update","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,"options":["livestream","messaging","gaming","commerce","team"]},"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:log":{"id":"chat:log","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,"options":["livestream","messaging","gaming","commerce","team"]},"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","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":"n","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,"options":["livestream","messaging","gaming","commerce","team"]},"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","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","pluginName":"getstream-cli","pluginType":"core","aliases":[],"flags":{"type":{"name":"type","type":"option","char":"t","description":"The type of channel.","required":false,"options":["livestream","messaging","gaming","commerce","team"]},"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","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:update":{"id":"chat:message:update","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","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","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},"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","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","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},"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","pluginName":"getstream-cli","pluginType":"core","aliases":[],"flags":{"url":{"name":"url","type":"option","char":"u","description":"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","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,"options":["livestream","messaging","gaming","commerce","team"]},"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","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,"options":["livestream","messaging","gaming","commerce","team"]},"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","pluginName":"getstream-cli","pluginType":"core","aliases":[],"flags":{"type":{"name":"type","type":"option","char":"u","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"},"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","pluginName":"getstream-cli","pluginType":"core","aliases":[],"flags":{"channel":{"name":"channel","type":"option","char":"c","description":"Channel identifier.","required":false},"type":{"name":"type","type":"option","char":"t","description":"The type of channel.","required":false,"options":["livestream","messaging","gaming","commerce","team"]},"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","guest","channel_moderator","channel_member","channel_owner","message_owner"]},"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:flag":{"id":"chat:user:flag","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:mute":{"id":"chat:user:mute","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:remove":{"id":"chat:user:remove","pluginName":"getstream-cli","pluginType":"core","aliases":[],"flags":{"channel":{"name":"channel","type":"option","char":"c","description":"Channel name.","required":false},"type":{"name":"type","type":"option","char":"t","description":"Channel type.","required":false},"moderators":{"name":"moderators","type":"option","char":"m","description":"Comma separated list of moderators to remove.","required":true},"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","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","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","pluginName":"getstream-cli","pluginType":"core","aliases":[],"flags":{"user_id":{"name":"user_id","type":"option","char":"u","description":"User ID","required":false}},"args":[]}}} | ||
{"version":"0.0.1-beta.58","commands":{"config:destroy":{"id":"config:destroy","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","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","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},"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","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:create":{"id":"chat:channel:create","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":"84033e0a-dc69-4ca2-8e0e-e5f3cf6759d9"},"type":{"name":"type","type":"option","char":"t","description":"Type of channel.","required":false,"options":["livestream","messaging","gaming","commerce","team"]},"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},"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:get":{"id":"chat:channel:get","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,"options":["livestream","messaging","gaming","commerce","team"]}},"args":[]},"chat:channel:list":{"id":"chat:channel:list","pluginName":"getstream-cli","pluginType":"core","aliases":[],"flags":{},"args":[]},"chat:channel:query":{"id":"chat:channel:query","pluginName":"getstream-cli","pluginType":"core","aliases":[],"flags":{"channel":{"name":"channel","type":"option","char":"c","description":"The unique indentifier for the channel you want to query.","required":false},"type":{"name":"type","type":"option","char":"t","description":"Type of channel.","required":false,"options":["livestream","messaging","gaming","commerce","team"]},"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:update":{"id":"chat:channel:update","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,"options":["livestream","messaging","gaming","commerce","team"]},"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:log":{"id":"chat:log","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,"options":["livestream","messaging","gaming","commerce","team"]},"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","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":"n","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,"options":["livestream","messaging","gaming","commerce","team"]},"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","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","pluginName":"getstream-cli","pluginType":"core","aliases":[],"flags":{"type":{"name":"type","type":"option","char":"t","description":"The type of channel.","required":false,"options":["livestream","messaging","gaming","commerce","team"]},"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","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:update":{"id":"chat:message:update","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","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","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},"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","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","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},"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","pluginName":"getstream-cli","pluginType":"core","aliases":[],"flags":{"url":{"name":"url","type":"option","char":"u","description":"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","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,"options":["livestream","messaging","gaming","commerce","team"]},"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","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,"options":["livestream","messaging","gaming","commerce","team"]},"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","pluginName":"getstream-cli","pluginType":"core","aliases":[],"flags":{"type":{"name":"type","type":"option","char":"u","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"},"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","pluginName":"getstream-cli","pluginType":"core","aliases":[],"flags":{"channel":{"name":"channel","type":"option","char":"c","description":"Channel identifier.","required":false},"type":{"name":"type","type":"option","char":"t","description":"The type of channel.","required":false,"options":["livestream","messaging","gaming","commerce","team"]},"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","guest","channel_moderator","channel_member","channel_owner","message_owner"]},"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:flag":{"id":"chat:user:flag","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:mute":{"id":"chat:user:mute","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:remove":{"id":"chat:user:remove","pluginName":"getstream-cli","pluginType":"core","aliases":[],"flags":{"channel":{"name":"channel","type":"option","char":"c","description":"Channel name.","required":false},"type":{"name":"type","type":"option","char":"t","description":"Channel type.","required":false},"moderators":{"name":"moderators","type":"option","char":"m","description":"Comma separated list of moderators to remove.","required":true},"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","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","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","pluginName":"getstream-cli","pluginType":"core","aliases":[],"flags":{"user_id":{"name":"user_id","type":"option","char":"u","description":"User ID","required":false}},"args":[]}}} |
395
package.json
{ | ||
"name": "getstream-cli", | ||
"description": "A carefully crafted CLI for managing Stream applications directly from the command line. 🚀", | ||
"version": "0.0.1-beta.58", | ||
"bin": { | ||
"stream": "./bin/run" | ||
}, | ||
"main": "src/index.js", | ||
"author": { | ||
"name": "Nick Parsons", | ||
"email": "nick@getstream.io", | ||
"url": "https://getstream.io/" | ||
}, | ||
"bugs": { | ||
"url": "https://github.com/getstream/stream-cli/issues", | ||
"email": "support@getstream.io" | ||
}, | ||
"repository": "getstream/stream-cli", | ||
"homepage": "https://github.com/GetStream/stream-cli/blob/master/README.md", | ||
"keywords": [ | ||
"GetStream", | ||
"Stream", | ||
"CLI", | ||
"Feed", | ||
"Chat" | ||
], | ||
"license": "BSD-3-Clause", | ||
"scripts": { | ||
"manifest": "rm -f oclif.manifest.json && oclif-dev manifest", | ||
"readme": "oclif-dev readme --multi", | ||
"test": "nyc report --reporter=text-lcov | coveralls mocha --exit --forbid-only \"test/**/*.test.js\"", | ||
"lint": "yarn prettier --write --check --config ./.prettierrc \"**/*.js\" && eslint --fix ./src" | ||
}, | ||
"husky": { | ||
"hooks": { | ||
"pre-commit": "yarn lint" | ||
} | ||
}, | ||
"dependencies": { | ||
"@babel/runtime": "^7.4.3", | ||
"@oclif/command": "^1", | ||
"@oclif/config": "^1", | ||
"@oclif/plugin-autocomplete": "^0.1.0", | ||
"@oclif/plugin-commands": "^1.2.2", | ||
"@oclif/plugin-help": "^2.1.6", | ||
"@oclif/plugin-not-found": "^1.2.2", | ||
"@oclif/plugin-warn-if-update-available": "^1.7.0", | ||
"cardinal": "^2.1.1", | ||
"chalk": "^2.4.2", | ||
"cli-table": "^0.3.1", | ||
"data-store": "^3.1.0", | ||
"enquirer": "^2.3.0", | ||
"fs-extra": "^7.0.1", | ||
"globby": "^9.2.0", | ||
"json-stringify-pretty-compact": "^2.0.0", | ||
"jsonwebtoken": "^8.5.1", | ||
"moment": "^2.24.0", | ||
"node-emoji": "^1.10.0", | ||
"node-notifier": "^5.4.0", | ||
"numeral": "^2.0.6", | ||
"stream-chat": "0.7.5", | ||
"uuid": "^3.3.2" | ||
}, | ||
"devDependencies": { | ||
"@oclif/dev-cli": "^1", | ||
"@oclif/test": "^1", | ||
"babel-eslint": "^10.0.1", | ||
"chai": "^4", | ||
"coveralls": "^3.0.3", | ||
"eslint": "^5.16", | ||
"eslint-config-oclif": "^3.1", | ||
"eslint-plugin-babel": "^5.3.0", | ||
"husky": "^1.3.1", | ||
"mocha": "^6.1.2", | ||
"mocha-lcov-reporter": "^1.3.0", | ||
"nyc": "^13", | ||
"prettier": "^1.16.4" | ||
}, | ||
"engines": { | ||
"node": ">=10.0.0" | ||
}, | ||
"files": [ | ||
"/bin", | ||
"/npm-shrinkwrap.json", | ||
"/oclif.manifest.json", | ||
"/src" | ||
], | ||
"oclif": { | ||
"bin": "stream", | ||
"commands": "./src/commands", | ||
"plugins": [ | ||
"@oclif/plugin-help", | ||
"@oclif/plugin-autocomplete", | ||
"@oclif/plugin-commands", | ||
"@oclif/plugin-not-found", | ||
"@oclif/plugin-warn-if-update-available" | ||
], | ||
"warn-if-update-available": { | ||
"timeoutInDays": 7, | ||
"message": "NOTICE: <%= config.name %> update available from <%= chalk.greenBright(config.version) %> to <%= chalk.greenBright(latest) %>!" | ||
}, | ||
"topics": { | ||
"config": { | ||
"description": "manage configuration variables" | ||
}, | ||
"debug": { | ||
"description": "debugging tools" | ||
}, | ||
"debug:token": { | ||
"description": "debug stream jwt tokens" | ||
}, | ||
"chat": { | ||
"description": "configure and manage all things related to chat" | ||
}, | ||
"chat:push:get": { | ||
"description": "retrieve all push settings for chat" | ||
}, | ||
"chat:push:test": { | ||
"description": "test notification templates for both push providers" | ||
}, | ||
"chat:push:device:add": { | ||
"description": "add a device to a user" | ||
}, | ||
"chat:push:device:get": { | ||
"description": "list all user devices" | ||
}, | ||
"chat:push:device:delete": { | ||
"description": "remove a device from a user" | ||
}, | ||
"chat:push:apn": { | ||
"description": "configure push notifications with apn for chat" | ||
}, | ||
"chat:push:firebase": { | ||
"description": "configure push notifications with firebase for chat" | ||
}, | ||
"chat:push:webhook": { | ||
"description": "configure push notifications with webhooks for chat" | ||
}, | ||
"chat:channel": { | ||
"description": "get and manage configurations for a channel" | ||
}, | ||
"chat:channel:get": { | ||
"description": "get details from a specific channel" | ||
}, | ||
"chat:channel:update": { | ||
"description": "update a configuration for a channel" | ||
}, | ||
"chat:channel:create": { | ||
"description": "create a new channel" | ||
}, | ||
"chat:channel:list": { | ||
"description": "get all channels" | ||
}, | ||
"chat:channel:query": { | ||
"description": "query all channels" | ||
}, | ||
"chat:log": { | ||
"description": "log events from a channel" | ||
}, | ||
"chat:message": { | ||
"description": "send and remove messages from a channel" | ||
}, | ||
"chat:message:remove": { | ||
"description": "remove a chat message" | ||
}, | ||
"chat:message:create": { | ||
"description": "create a new message with or without attachments" | ||
}, | ||
"chat:message:update": { | ||
"description": "update a chat message" | ||
}, | ||
"chat:message:list": { | ||
"description": "list messages for a specific channel" | ||
}, | ||
"chat:message:flag": { | ||
"description": "flag a chat message" | ||
}, | ||
"chat:user": { | ||
"description": "manage users within channels" | ||
}, | ||
"chat:user:create": { | ||
"description": "create a new user within a channel" | ||
}, | ||
"chat:user:remove": { | ||
"description": "remove a user from a channel" | ||
}, | ||
"chat:user:ban": { | ||
"description": "ban a user temporarily or based on a per minute timeout" | ||
}, | ||
"chat:user:flag": { | ||
"description": "flag a user for innapropriate comments or content" | ||
}, | ||
"chat:user:mute": { | ||
"description": "silence a user within a channel" | ||
} | ||
} | ||
} | ||
"name": "getstream-cli", | ||
"description": "Configure & manage Stream applications from the command line. 🚀", | ||
"version": "0.0.1", | ||
"bin": { | ||
"stream": "./bin/run" | ||
}, | ||
"main": "src/index.js", | ||
"author": { | ||
"name": "Nick Parsons", | ||
"email": "nick@getstream.io", | ||
"url": "https://getstream.io/" | ||
}, | ||
"bugs": { | ||
"url": "https://github.com/getstream/stream-cli/issues", | ||
"email": "support@getstream.io" | ||
}, | ||
"repository": "getstream/stream-cli", | ||
"homepage": "https://github.com/GetStream/stream-cli/blob/master/README.md", | ||
"keywords": [ | ||
"GetStream", | ||
"Stream", | ||
"CLI", | ||
"Feed", | ||
"Chat" | ||
], | ||
"license": "BSD-3-Clause", | ||
"scripts": { | ||
"manifest": "rm -f oclif.manifest.json && oclif-dev manifest", | ||
"readme": "oclif-dev readme --multi", | ||
"test": "nyc report --reporter=text-lcov | coveralls mocha --exit --forbid-only \"test/**/*.test.js\"", | ||
"lint": "yarn prettier --write --check --config ./.prettierrc \"**/*.js\" && eslint --fix ./src", | ||
"bump": "npm version patch", | ||
"preversion": "yarn lint", | ||
"postversion": "git push" | ||
}, | ||
"husky": { | ||
"hooks": { | ||
"pre-commit": "yarn lint" | ||
} | ||
}, | ||
"dependencies": { | ||
"@babel/runtime": "^7.4.3", | ||
"@oclif/command": "^1", | ||
"@oclif/config": "^1", | ||
"@oclif/plugin-autocomplete": "^0.1.0", | ||
"@oclif/plugin-commands": "^1.2.2", | ||
"@oclif/plugin-help": "^2.1.6", | ||
"@oclif/plugin-not-found": "^1.2.2", | ||
"@oclif/plugin-warn-if-update-available": "^1.7.0", | ||
"cardinal": "^2.1.1", | ||
"chalk": "^2.4.2", | ||
"cli-table": "^0.3.1", | ||
"data-store": "^3.1.0", | ||
"enquirer": "^2.3.0", | ||
"fs-extra": "^7.0.1", | ||
"globby": "^9.2.0", | ||
"json-stringify-pretty-compact": "^2.0.0", | ||
"jsonwebtoken": "^8.5.1", | ||
"moment": "^2.24.0", | ||
"node-emoji": "^1.10.0", | ||
"node-notifier": "^5.4.0", | ||
"numeral": "^2.0.6", | ||
"stream-chat": "0.7.5", | ||
"uuid": "^3.3.2" | ||
}, | ||
"devDependencies": { | ||
"@oclif/dev-cli": "^1", | ||
"@oclif/test": "^1", | ||
"babel-eslint": "^10.0.1", | ||
"chai": "^4", | ||
"coveralls": "^3.0.3", | ||
"eslint": "^5.16", | ||
"eslint-config-oclif": "^3.1", | ||
"eslint-plugin-babel": "^5.3.0", | ||
"husky": "^1.3.1", | ||
"mocha": "^6.1.3", | ||
"mocha-lcov-reporter": "^1.3.0", | ||
"nyc": "^13", | ||
"prettier": "^1.16.4" | ||
}, | ||
"engines": { | ||
"node": ">=10.0.0" | ||
}, | ||
"files": [ | ||
"/bin", | ||
"/npm-shrinkwrap.json", | ||
"/oclif.manifest.json", | ||
"/src" | ||
], | ||
"oclif": { | ||
"bin": "stream", | ||
"commands": "./src/commands", | ||
"plugins": [ | ||
"@oclif/plugin-help", | ||
"@oclif/plugin-autocomplete", | ||
"@oclif/plugin-commands", | ||
"@oclif/plugin-not-found", | ||
"@oclif/plugin-warn-if-update-available" | ||
], | ||
"warn-if-update-available": { | ||
"timeoutInDays": 7, | ||
"message": "NOTICE: <%= config.name %> update available from <%= chalk.greenBright(config.version) %> to <%= chalk.greenBright(latest) %>!" | ||
}, | ||
"topics": { | ||
"config": { | ||
"description": "manage configuration variables" | ||
}, | ||
"debug": { | ||
"description": "debugging tools" | ||
}, | ||
"debug:token": { | ||
"description": "debug stream jwt tokens" | ||
}, | ||
"chat": { | ||
"description": "configure and manage all things related to chat" | ||
}, | ||
"chat:push:get": { | ||
"description": "retrieve all push settings for chat" | ||
}, | ||
"chat:push:test": { | ||
"description": "test notification templates for both push providers" | ||
}, | ||
"chat:push:device:add": { | ||
"description": "add a device to a user" | ||
}, | ||
"chat:push:device:get": { | ||
"description": "list all user devices" | ||
}, | ||
"chat:push:device:delete": { | ||
"description": "remove a device from a user" | ||
}, | ||
"chat:push:apn": { | ||
"description": "configure push notifications with apn for chat" | ||
}, | ||
"chat:push:firebase": { | ||
"description": "configure push notifications with firebase for chat" | ||
}, | ||
"chat:push:webhook": { | ||
"description": "configure push notifications with webhooks for chat" | ||
}, | ||
"chat:channel": { | ||
"description": "get and manage configurations for a channel" | ||
}, | ||
"chat:channel:get": { | ||
"description": "get details from a specific channel" | ||
}, | ||
"chat:channel:update": { | ||
"description": "update a configuration for a channel" | ||
}, | ||
"chat:channel:create": { | ||
"description": "create a new channel" | ||
}, | ||
"chat:channel:list": { | ||
"description": "get all channels" | ||
}, | ||
"chat:channel:query": { | ||
"description": "query all channels" | ||
}, | ||
"chat:log": { | ||
"description": "log events from a channel" | ||
}, | ||
"chat:message": { | ||
"description": "send and remove messages from a channel" | ||
}, | ||
"chat:message:remove": { | ||
"description": "remove a chat message" | ||
}, | ||
"chat:message:create": { | ||
"description": "create a new message with or without attachments" | ||
}, | ||
"chat:message:update": { | ||
"description": "update a chat message" | ||
}, | ||
"chat:message:list": { | ||
"description": "list messages for a specific channel" | ||
}, | ||
"chat:message:flag": { | ||
"description": "flag a chat message" | ||
}, | ||
"chat:user": { | ||
"description": "manage users within channels" | ||
}, | ||
"chat:user:create": { | ||
"description": "create a new user within a channel" | ||
}, | ||
"chat:user:remove": { | ||
"description": "remove a user from a channel" | ||
}, | ||
"chat:user:ban": { | ||
"description": "ban a user temporarily or based on a per minute timeout" | ||
}, | ||
"chat:user:flag": { | ||
"description": "flag a user for innapropriate comments or content" | ||
}, | ||
"chat:user:mute": { | ||
"description": "silence a user within a channel" | ||
} | ||
} | ||
} | ||
} |
@@ -111,3 +111,3 @@ ![Stream Cli](https://i.imgur.com/H8AScTq.png) | ||
$ stream (-v|--version|version) | ||
getstream-cli/0.0.1-beta.56 darwin-x64 node-v11.13.0 | ||
getstream-cli/0.0.1-beta.58 darwin-x64 node-v11.9.0 | ||
$ stream --help [COMMAND] | ||
@@ -114,0 +114,0 @@ USAGE |
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
103400