69 lines
2.9 KiB
Markdown
69 lines
2.9 KiB
Markdown
# tps-cli
|
|
|
|
```text
|
|
Command line interface for accessing and setting Tenant Properties
|
|
For a full list of System Properties, please refer to the documentation:
|
|
https://em-docs.verint.com/15_3/em-knowledge-management/Content/SystemProperties/Tenant_Properties_Service.htm
|
|
|
|
Usage:
|
|
tps [command]
|
|
|
|
Available Commands:
|
|
completion Generate the autocompletion script for the specified shell
|
|
delete Deletes a property
|
|
help Help about any command
|
|
list Get Properties from the Tenant Properties Service (TPS)
|
|
update Update or Create a property
|
|
|
|
Flags:
|
|
--clientId string clientId or tenantId for API calls (default "default")
|
|
--config string config file (default is $HOME/.tps.yaml)
|
|
-h, --help help for tps
|
|
--hostname string Environment hostname
|
|
--password string API password (default "apiclient")
|
|
--username string API username (default "apiclient")
|
|
-v, --verbose verbose logging
|
|
```
|
|
|
|
## Configuration
|
|
|
|
Any of the flag values can be set using a YAML configuration file. By default it will try and read the file $HOME/.tps.yaml.
|
|
|
|
### Example configuration (~/.tps.yaml)
|
|
|
|
```yaml
|
|
hostname: em5.verint.training
|
|
username: apiclient
|
|
password: apiclient12345
|
|
clientId: default
|
|
```
|
|
|
|
## Example usage
|
|
|
|
```shell
|
|
tps list -f conversation-service
|
|
```
|
|
|
|
```shell
|
|
Using config file: /Users/Peter.Morton/.tps.yaml
|
|
+--------------------------------------------------------------------------------------------+-----------+----------------------+-------------------------+
|
|
| PROPERTY NAME | VALUE | LAST MODIFIED BY | LAST MODIFIED DATE |
|
|
+--------------------------------------------------------------------------------------------+-----------+----------------------+-------------------------+
|
|
| conversation-service.initialised | true | conversation-service | 2022-04-08T19:16:08.226 |
|
|
| conversation-service.upload.default.max-number-of-customer-attachments | 10 | conversation-service | 2022-04-08T19:16:08.197 |
|
|
| conversation-service.upload.default.max-number-of-customer-attachments-bytes | 100000000 | conversation-service | 2022-04-08T19:16:08.224 |
|
|
| conversation-service.upload.default.number-of-customer-attachments-bytes-period-in-minutes | 10 | conversation-service | 2022-04-08T19:16:08.22 |
|
|
| conversation-service.upload.default.number-of-customer-attachments-period-in-minutes | 10 | conversation-service | 2022-04-08T19:16:08.214 |
|
|
+--------------------------------------------------------------------------------------------+-----------+----------------------+-------------------------+
|
|
```
|
|
|
|
## Building
|
|
|
|
make
|
|
|
|
## Installing
|
|
|
|
```shell
|
|
curl -sSL https://git.mortons.site/verint.com/tps-cli/raw/branch/main/install.sh | bash
|
|
```
|