Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
https://github.com/fthevenet/mattermost-utils
A collection of utilities for Mattermost
https://github.com/fthevenet/mattermost-utils
Last synced: 6 days ago
JSON representation
A collection of utilities for Mattermost
- Host: GitHub
- URL: https://github.com/fthevenet/mattermost-utils
- Owner: fthevenet
- License: apache-2.0
- Created: 2020-04-08T12:56:27.000Z (over 4 years ago)
- Default Branch: master
- Last Pushed: 2022-05-23T15:12:23.000Z (over 2 years ago)
- Last Synced: 2024-10-29T20:06:50.321Z (about 2 months ago)
- Language: Java
- Size: 91.8 KB
- Stars: 1
- Watchers: 2
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
- Changelog: CHANGELOG.md
- License: LICENSE.md
Awesome Lists containing this project
README
# mattermost-utils
[![Build Status](https://dev.azure.com/binjr/Misc/_apis/build/status/fthevenet.mattermost-utils?branchName=master)](https://dev.azure.com/binjr/Misc/_build/latest?definitionId=7&branchName=master)A collection of utilities for Mattermost
### Usage
Build or download the mattermost-utils jar file and start with the following command line, using Java 11 or higher:
```
java -jar mattermost-utils-x.x.jar
```Append the name of a command and the required parameters:
```
Usage: mattermost-utils [-hV] [COMMAND]
A collection of utilities for Mattermost
-h, --help Show this help message and exit.
-V, --version Print version information and exit.
Commands:
set-avatar, sa Update users' profile pictures from an avatar service.
who-am-i, me Display info on the authenticated user.
post-message, msg Post a message to a channel.
```The following commands are available:
##### set-avatar
```
Usage: mattermost-utils set-avatar [-dfhvV] [-a=]
[-t=] [-u=]
[-e=]...
set users avatar
-a, --avatar-service-url=
The URL to the avatar service
-d, --dry-run Dry run: profile images won't actually be updated
-e, --user-emails=
List of user emails to explicitly update
-f, --force Force update avatar even if it had been setup by the
user
-h, --help Show this help message and exit.
-t, --token= API Access token
-u, --url=
Mattermost address
-v, --verbose Display detailed info
-V, --version Print version information and exit.
```##### who-am-i
```
Usage: mattermost-utils who-am-i [-hvV] [-t=] [-u=]
Display info on the authenticated user.
-h, --help Show this help message and exit.
-t, --token= API Access token
-u, --url=
Mattermost address
-v, --verbose Display detailed info
-V, --version Print version information and exit.
```##### post-message
```
Usage: mattermost-utils post-message [-hvV] [-c=] [-m=]
[-t=] [-u=]
Post a message to a channel.
-c, --channel-id=
Channel ID
-h, --help Show this help message and exit.
-m, --message-text=
Channel ID
-t, --token= API Access token
-u, --url=
Mattermost address
-v, --verbose Display detailed info
-V, --version Print version information and exit.
```