2023-10-16 21:49:53 -05:00
2023-10-16 21:49:53 -05:00
2023-05-01 18:28:51 -05:00
2023-05-02 11:49:25 -05:00
2023-05-02 11:49:25 -05:00
2023-05-01 16:00:04 -05:00
2023-05-02 11:49:25 -05:00
2023-05-01 18:28:51 -05:00
2023-10-20 16:23:24 -05:00

tps-cli

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)

hostname: em5.verint.training
username: apiclient
password: apiclient12345
clientId: default 

Example usage

tps list -f conversation-service 
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

curl -sSL https://git.mortons.site/verint.com/tps-cli/raw/branch/main/install.sh | bash
Description
Tenant Properties Service Command Line
Readme 13 MiB
0.2.0 Latest
2023-10-17 14:40:48 -05:00
Languages
Go 91.5%
Shell 4.3%
Makefile 4.2%