{"id":26202730,"url":"https://github.com/yoshiyuki-nakahara/python-slackclient-cli","last_synced_at":"2025-04-15T06:27:22.285Z","repository":{"id":57468196,"uuid":"80346315","full_name":"Yoshiyuki-Nakahara/python-slackclient-cli","owner":"Yoshiyuki-Nakahara","description":"send message to slack from command line","archived":false,"fork":false,"pushed_at":"2017-02-24T12:58:14.000Z","size":69,"stargazers_count":2,"open_issues_count":0,"forks_count":1,"subscribers_count":1,"default_branch":"master","last_synced_at":"2025-03-02T03:23:37.373Z","etag":null,"topics":["cli","command-line-tool","slack","slackapi","slackclient"],"latest_commit_sha":null,"homepage":null,"language":"Python","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":"mit","status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/Yoshiyuki-Nakahara.png","metadata":{"files":{"readme":"README.md","changelog":null,"contributing":null,"funding":null,"license":"LICENSE","code_of_conduct":null,"threat_model":null,"audit":null,"citation":null,"codeowners":null,"security":null,"support":null}},"created_at":"2017-01-29T13:03:55.000Z","updated_at":"2018-03-19T04:40:50.000Z","dependencies_parsed_at":"2022-09-17T16:20:17.087Z","dependency_job_id":null,"html_url":"https://github.com/Yoshiyuki-Nakahara/python-slackclient-cli","commit_stats":null,"previous_names":[],"tags_count":3,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/Yoshiyuki-Nakahara%2Fpython-slackclient-cli","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/Yoshiyuki-Nakahara%2Fpython-slackclient-cli/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/Yoshiyuki-Nakahara%2Fpython-slackclient-cli/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/Yoshiyuki-Nakahara%2Fpython-slackclient-cli/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/Yoshiyuki-Nakahara","download_url":"https://codeload.github.com/Yoshiyuki-Nakahara/python-slackclient-cli/tar.gz/refs/heads/master","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":243152864,"owners_count":20244657,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2022-07-04T15:15:14.044Z","host_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub","repositories_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories","repository_names_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repository_names","owners_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners"}},"keywords":["cli","command-line-tool","slack","slackapi","slackclient"],"created_at":"2025-03-12T03:49:12.367Z","updated_at":"2025-03-12T03:49:13.139Z","avatar_url":"https://github.com/Yoshiyuki-Nakahara.png","language":"Python","readme":"# python-slackclient-cli\nA command line interface for Slack API / [slackclient](https://github.com/slackapi/python-slackclient) wrapper  \n[![PyPI version](https://badge.fury.io/py/slackclient-cli.svg)](https://badge.fury.io/py/slackclient-cli)\n![Python Version](https://img.shields.io/badge/python-2.7-blue.svg)\n[![Build Status](https://travis-ci.org/Yoshiyuki-Nakahara/python-slackclient-cli.svg?branch=master)](https://travis-ci.org/Yoshiyuki-Nakahara/python-slackclient-cli)\n[![Code Health](https://landscape.io/github/Yoshiyuki-Nakahara/python-slackclient-cli/master/landscape.svg?style=plastic)](https://landscape.io/github/Yoshiyuki-Nakahara/python-slackclient-cli/master)\n[![License: MIT](https://img.shields.io/badge/License-MIT-yellow.svg)](https://opensource.org/licenses/MIT)\n\n# Reference\n  https://api.slack.com/methods\n\n# Installation\n    pip install slackclient-cli\n\n# Usage\n    slackclient-cli --help\n    usage: slackclient-cli [-h]\n      {reactions.remove,users.setPresence,users.getPresence,groups.setPurpose,usergroups.users.update,dnd.info,reminders.info,pins.list,mpim.open,channels.kick,reminders.add,channels.unarchive,team.profile.get,im.replies,channels.join,mpim.close,groups.setTopic,emoji.list,reactions.get,chat.update,groups.list,groups.archive,stars.list,mpim.list,im.history,auth.revoke,groups.open,mpim.mark,groups.info,im.close,im.list,files.comments.delete,team.accessLogs,usergroups.users.list,groups.kick,bots.info,groups.history,users.profile.get,groups.unarchive,channels.invite,groups.replies,files.sharedPublicURL,search.files,channels.rename,channels.list,im.open,team.info,channels.leave,chat.postMessage,users.list,groups.invite,team.billableInfo,groups.rename,files.comments.edit,groups.createChild,groups.create,reminders.delete,auth.test,oauth.access,users.setPhoto,pins.remove,im.mark,dnd.teamInfo,stars.remove,reminders.list,chat.delete,users.setActive,channels.replies,channels.history,files.upload,pins.add,groups.mark,channels.archive,mpim.history,search.all,users.info,usergroups.list,channels.info,files.comments.add,dnd.setSnooze,files.delete,files.list,channels.setTopic,files.info,stars.add,usergroups.disable,mpim.replies,team.integrationLogs,users.deletePhoto,reminders.complete,channels.setPurpose,dnd.endDnd,channels.mark,search.messages,channels.create,users.identity,groups.leave,usergroups.enable,dnd.endSnooze,users.profile.set,chat.meMessage,files.revokePublicURL,usergroups.update,reactions.add,reactions.list,usergroups.create,groups.close}\n\n    /bin/slackclient-cli [Args] [Options] Detailed options -h or --help\n\n    positional arguments:\n      {reactions.remove,users.setPresence,users.getPresence,groups.setPurpose,usergroups.users.update,dnd.info,reminders.info,pins.list,mpim.open,channels.kick,reminders.add,channels.unarchive,team.profile.get,im.replies,channels.join,mpim.close,groups.setTopic,emoji.list,reactions.get,chat.update,groups.list,groups.archive,stars.list,mpim.list,im.history,auth.revoke,groups.open,mpim.mark,groups.info,im.close,im.list,files.comments.delete,team.accessLogs,usergroups.users.list,groups.kick,bots.info,groups.history,users.profile.get,groups.unarchive,channels.invite,groups.replies,files.sharedPublicURL,search.files,channels.rename,channels.list,im.open,team.info,channels.leave,chat.postMessage,users.list,groups.invite,team.billableInfo,groups.rename,files.comments.edit,groups.createChild,groups.create,reminders.delete,auth.test,oauth.access,users.setPhoto,pins.remove,im.mark,dnd.teamInfo,stars.remove,reminders.list,chat.delete,users.setActive,channels.replies,channels.history,files.upload,pins.add,groups.mark,channels.archive,mpim.history,search.all,users.info,usergroups.list,channels.info,files.comments.add,dnd.setSnooze,files.delete,files.list,channels.setTopic,files.info,stars.add,usergroups.disable,mpim.replies,team.integrationLogs,users.deletePhoto,reminders.complete,channels.setPurpose,dnd.endDnd,channels.mark,search.messages,channels.create,users.identity,groups.leave,usergroups.enable,dnd.endSnooze,users.profile.set,chat.meMessage,files.revokePublicURL,usergroups.update,reactions.add,reactions.list,usergroups.create,groups.close\n\n    optional arguments:\n      -h, --help            show this help message and exit\n      --version             show program's version number and exit\n\n# SubCommand Usage(ex. chat.postMessage)\n    usage: slackclient-cli chat.postMessage -h\n    usage: slackclient-cli chat.postMessage [-h] [--quiet] --token TOKEN --channel\n                                  CHANNEL --text TEXT [--parse PARSE]\n                                  [--link_names LINK_NAMES]\n                                  [--attachments ATTACHMENTS]\n                                  [--unfurl_links UNFURL_LINKS]\n                                  [--unfurl_media UNFURL_MEDIA]\n                                  [--username USERNAME] [--as_user AS_USER]\n                                  [--icon_url ICON_URL]\n                                  [--icon_emoji ICON_EMOJI]\n                                  [--thread_ts THREAD_TS]\n                                  [--reply_broadcast REPLY_BROADCAST]\n    optional arguments:\n      -h, --help            show this help message and exit\n      --quiet               don't print api response\n      --token TOKEN         Authentication token. Requires scope: chat:write:bot\n                            or chat:write:user\n      --channel CHANNEL     Channel, private group, or IM channel to send message\n                            to. Can be an encoded ID, or a name. See below for\n                            more details.\n      --text TEXT           Text of the message to send. See below for an\n                            explanation of formatting. This field is usually\n                            required, unless you're providing only attachments\n                            instead.\n      --parse PARSE         Text of the message to send. See below for an\n                            explanation of formatting. This field is usually\n                            required, unless you're providing only attachments\n                            instead.Change how messages are treated. Defaults to\n                            none. See below.\n      --link_names LINK_NAMES\n                            Find and link channel names and usernames.\n      --attachments ATTACHMENTS\n                            Structured message attachments.\n      --unfurl_links UNFURL_LINKS\n                            Pass true to enable unfurling of primarily text-based\n                            content.\n      --unfurl_media UNFURL_MEDIA\n                            Pass false to disable unfurling of media content.\n      --username USERNAME   Set your bot's user name. Must be used in conjunction\n                            with as_user set to false, otherwise ignored. See\n                            authorship below.\n      --as_user AS_USER     Pass true to post the message as the authed user,\n                            instead of as a bot. Defaults to false. See authorship\n                            below.\n      --icon_url ICON_URL   URL to an image to use as the icon for this message.\n                            Must be used in conjunction with as_user set to false,\n                            otherwise ignored. See authorship below.\n      --icon_emoji ICON_EMOJI\n                            Emoji to use as the icon for this message. Overrides\n                            icon_url. Must be used in conjunction with as_user set\n                            to false, otherwise ignored. See authorship below.\n      --thread_ts THREAD_TS\n                            Provide another message's ts value to make this\n                            message a reply. Avoid using a reply's ts value; use\n                            its parent instead.\n      --reply_broadcast REPLY_BROADCAST\n                            Used in conjunction with thread_ts and indicates\n                            whether reply should be made visible to everyone in\n                            the channel or conversation. Defaults to false.\n\n    # It can also be specified by environment variable\n    export SLACK_API_TOKEN='xoxp-xxxxxxxxxxxxxxxxx'\n    export SLACK_API_CHANNEL = '#some_channel'\n    export SLACK_API_{arg.upper()} = 'some value'\n\n# License\nMIT License\n","funding_links":[],"categories":[],"sub_categories":[],"project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fyoshiyuki-nakahara%2Fpython-slackclient-cli","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fyoshiyuki-nakahara%2Fpython-slackclient-cli","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fyoshiyuki-nakahara%2Fpython-slackclient-cli/lists"}