Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
https://github.com/takumakanari/embulk-output-slack_file_upload
Slack File Upload file output plugin for Embulk
https://github.com/takumakanari/embulk-output-slack_file_upload
embulk embulk-output-plugin file-upload slack
Last synced: 24 days ago
JSON representation
Slack File Upload file output plugin for Embulk
- Host: GitHub
- URL: https://github.com/takumakanari/embulk-output-slack_file_upload
- Owner: takumakanari
- License: mit
- Created: 2017-03-26T04:40:27.000Z (almost 8 years ago)
- Default Branch: master
- Last Pushed: 2019-11-18T01:03:40.000Z (about 5 years ago)
- Last Synced: 2024-11-11T15:50:14.746Z (3 months ago)
- Topics: embulk, embulk-output-plugin, file-upload, slack
- Language: Java
- Size: 82 KB
- Stars: 1
- Watchers: 1
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
- License: LICENSE.txt
Awesome Lists containing this project
README
# Slack File Upload file output plugin for Embulk
Upload files to Slack.
## Overview
* **Plugin type**: file output
* **Load all or nothing**: no
* **Resume supported**: yes
* **Cleanup supported**: yes## Configuration
- **file_name_prefix**: File name prefix of the upload files (string, required)
- **sequence_format**: Format of the sequence number of the output files (integer, default: `%03d.%02d`)
- **file_ext**: Path suffix of the output files (e.g. "csv") (string, required)
- **api_token**: Token of Slack API (string, required)
- **channels**: The list of channels to upload (array, required)
- **title**: Title to upload (array, default: `null`)
- **min_lines**: When set, file will be uploaded only if total lines of each file >= min_lines (array, default: `null`)## Example
```yaml
out:
type: slack_file_upload
file_name_prefix: report
file_ext: csv
api_token: abcdefghijklmn0123456789
channels: [room1, room2]
title: daily report
min_lines: 1
formatter:
type: csv
header_line: true
charset: UTF-8
newline: CRLF
```## Build
```
$ ./gradlew gem # -t to watch change of files and rebuild continuously
```