Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
https://github.com/ma91n/slackrm
slackrm is simple tool to remove slack comment
https://github.com/ma91n/slackrm
cli go go-cli golang
Last synced: 6 days ago
JSON representation
slackrm is simple tool to remove slack comment
- Host: GitHub
- URL: https://github.com/ma91n/slackrm
- Owner: ma91n
- License: apache-2.0
- Created: 2019-08-21T15:47:03.000Z (about 5 years ago)
- Default Branch: master
- Last Pushed: 2019-08-23T08:23:43.000Z (about 5 years ago)
- Last Synced: 2024-06-21T18:09:16.464Z (5 months ago)
- Topics: cli, go, go-cli, golang
- Language: Go
- Homepage:
- Size: 53.7 KB
- Stars: 4
- Watchers: 1
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
- License: LICENSE
Awesome Lists containing this project
README
# rmslack
rmslack is simple tool to remove slack comment## Installation
slackrm or upgrade slackrm with this command.
```bash
go get -u github.com/laqiiz/slackrm
```## Usage
```bash
slackrm [options]
```### Example
Get slack comment url to delete.
![copy link](docs/copy_link.png)
Run slackrm command.
```bash
# Basic
slackrm -url -token
```If access token is too long then you can set environment variables.
```bash
# Use environment variables
export SLACK_API_TOKEN=
slackrm -url
```### Options
```bash
>slackrm -help
Usage of slackrm:
-c string
-c slack channel name
-channel string
slack channel name
-timestamp string
timestamp of remove target comment (default "0")
-tk string
slack access channel
-token string
slack api access token
-ts string
timestamp of remove target comment (default "0")
-u string
-u delete target slack comment url
-url string
url is delete target slack comment url
```## FAQ
1. Work with http proxy?
* Yes. You can run with proxy options.
```bash
export http_proxy=http://proxy.example.com:PORT
export https_proxy=$http_proxy
```
2. I have error on: "x509: certificate signed by unknown authority"
* Try -insecure option.
```bash
slackrm -url -insecure true
```## License
This project is licensed under the Apache License 2.0 License - see the [LICENSE](LICENSE) file for details