{"id":13678370,"url":"https://github.com/mehdibo/SlackBatch","last_synced_at":"2025-04-29T13:30:34.920Z","repository":{"id":144689861,"uuid":"151251729","full_name":"mehdibo/SlackBatch","owner":"mehdibo","description":"Send batch invites from the CLI.","archived":false,"fork":false,"pushed_at":"2019-10-09T10:59:38.000Z","size":32,"stargazers_count":0,"open_issues_count":0,"forks_count":0,"subscribers_count":2,"default_branch":"master","last_synced_at":"2024-10-19T01:13:30.317Z","etag":null,"topics":[],"latest_commit_sha":null,"homepage":null,"language":"PHP","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/mehdibo.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,"governance":null,"roadmap":null,"authors":null}},"created_at":"2018-10-02T12:36:16.000Z","updated_at":"2020-08-21T02:39:36.000Z","dependencies_parsed_at":"2023-05-03T18:08:32.867Z","dependency_job_id":null,"html_url":"https://github.com/mehdibo/SlackBatch","commit_stats":null,"previous_names":[],"tags_count":1,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/mehdibo%2FSlackBatch","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/mehdibo%2FSlackBatch/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/mehdibo%2FSlackBatch/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/mehdibo%2FSlackBatch/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/mehdibo","download_url":"https://codeload.github.com/mehdibo/SlackBatch/tar.gz/refs/heads/master","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":224173815,"owners_count":17268180,"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":[],"created_at":"2024-08-02T13:00:52.886Z","updated_at":"2024-11-11T20:31:29.803Z","avatar_url":"https://github.com/mehdibo.png","language":"PHP","funding_links":[],"categories":["Uncategorized"],"sub_categories":["Uncategorized"],"readme":"# SlackBatch\nSend Slack workspace invites to multiple e-mails from the CLI.\n\n# Usage\n\n```sh\n$\u003e./slackbatch.php -h\nUSAGE:\n   slackbatch.php \u003cOPTIONS\u003e \u003csrc\u003e\n\n   Send batch Slack invitations using the Slack API.                                                                                                                                               \n\nOPTIONS:\n   --f \u003cformat\u003e                                Source options: file                                                                                  \n\n   --fail-abort                                If an invite fails abort sending.                                                                     \n\n   --token \u003ctoken\u003e                             Slack legacy auth token.                                                                                     \n\n   -h, --help                                  Display this help screen and exit immeadiately.                                                       \n\n   --no-colors                                 Do not use any colors in output. Useful when piping output to other tools or files.                   \n\n   --loglevel \u003clevel\u003e                          Minimum level of messages to display. Default is info. Valid levels are: debug, info, notice, success,\n                                               warning, error, critical, alert, emergency.\n\nARGUMENTS:\n   \u003csrc\u003e                                       E-mails source.\n```\n\nYou need a legacy token, you can get one [from here](https://api.slack.com/custom-integrations/legacy-tokens).\n\nCurrently SlackBatch only handles files, so you need to pass a file containing new line separated e-mails.\n\n## Example:\n```sh\n$\u003e ./slackbatch.php --f file --token \"MY_LEGACY_TOKEN\" emails.txt\n✓ Invite sent to: email@example.com\n✓ Invite sent to: emaila@example.com\n✓ Invite sent to: emailb@example.com\n✓ Invite sent to: emailc@example.com\n✓ Invite sent to: emaild@example.com\n✓ Invite sent to: emaile@example.com\n```\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fmehdibo%2FSlackBatch","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fmehdibo%2FSlackBatch","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fmehdibo%2FSlackBatch/lists"}