Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
https://github.com/col-panic/rocket-chat-setting
A Java commandline tool to get/set rocketchat setting values
https://github.com/col-panic/rocket-chat-setting
java-commandline rocketchat rocketchat-api
Last synced: about 12 hours ago
JSON representation
A Java commandline tool to get/set rocketchat setting values
- Host: GitHub
- URL: https://github.com/col-panic/rocket-chat-setting
- Owner: col-panic
- Created: 2019-08-14T07:46:13.000Z (over 5 years ago)
- Default Branch: master
- Last Pushed: 2022-10-19T07:15:39.000Z (about 2 years ago)
- Last Synced: 2023-03-31T05:17:29.076Z (over 1 year ago)
- Topics: java-commandline, rocketchat, rocketchat-api
- Language: Java
- Size: 62.5 KB
- Stars: 0
- Watchers: 2
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
Awesome Lists containing this project
README
# rocket-chat-setting
A Java commandline tool to get/set rocketchat setting values
Uses https://github.com/col-panic/rocket-chat-rest-client,
an adapted version of https://github.com/baloise/rocket-chat-rest-client.## Building
1. Import as Eclipse project
2. Select `src/rocket_chat_setting/Main.java` and `Export` / `Runnable Jar File`## Usage
```
$> java -jar RocketchatSetting.jar
The following options are required: [-u], [-l], [-p]Usage: [options]
Options:
* -l
username
* -p
password
-s
values to set as key=value; multiple occurences allowed
Default: []
-t
Trust all HTTPS certificates
Default: false
* -u
RocketChat service url, e.g. https://rocketchat:3000
-v
Verbose output
Default: false
```## Examples
```
java -jar /RocketchatSetting.jar -l AdminUser -p AdminPassword -u https://my.service/chat -v \
-s SAML_Custom_Default=true -s SAML_Custom_Default_provider=rocketchat-saml \
-s SAML_Custom_Default_issuer=rocketchat-saml -s SAML_Custom_Default_button_label_text=Some_Text \
-s SAML_Custom_Default_name_overwrite=true -s SAML_Custom_Default_mail_overwrite=true \
-s SAML_Custom_Default_generate_username=false -s SAML_Custom_Default_immutable_property=Username
```## Changes
* Jan 15, 20 - major refactorings
* Aug 22, 19 - Support for direct read/set of multiple settings