Cli for SAP PDI
Latest Build
Just download latest binary files from Github Release Page
Help
bash> pdi-util
NAME:
PDI Util - A cli util for SAP PDI
USAGE:
pdi-util [global options] command [command options] [arguments...]
VERSION:
v1-alpha
COMMANDS:
session session related operations
solution solution related operations
source source code related operations
help, h Shows a list of commands or help for one command
GLOBAL OPTIONS:
--username value, -u value The PDI Development User [$PDI_USER]
--password value, -p value The PDI Development User Password [$PDI_PASSWORD]
--hostname value, -t value The PDI Tenant host [$PDI_TENANT_HOST]
--help, -h show help
--version, -v print the version
list all solutions
bash> pdi-util -u USER -p PASS -t myxxxxx.c4c.saphybriscloud.com solution list
+----------+----------------+----------------+------------+----------+-------+
| ID | DESCRIPTION | STATUS | CUSTOMER | CONTACT | EMAIL |
+----------+----------------+----------------+------------+----------+-------+
| Removed | Removed | Deployed | | Removed | |
| Removed | Removed | In Development | | Removed | |
+----------+----------------+----------------+------------+----------+-------+
download source from repo
bash> pdi-util source download -h
NAME:
PDI Util source download - download all files in a solution
USAGE:
PDI Util source download [command options] [arguments...]
OPTIONS:
--solution value, -s value The PDI Solution Name [$SOLUTION_NAME]
--output value, -o value Output directory (default: "output") [$OUTPUT]
--concurrent value, -c value concurrent goroutine number when download from remote (default: 35) [$DOWNLOAD_CONCURRENT]
Extremely fast, download with 35
goroutines defaultly.
(PDI download project files one by one in a single thread).
bash> pdi-util -u USER -p PASS -t myxxxxx.c4c.saphybriscloud.com source download -s SOLUTION_NAME
2018/11/24 12:59:36 Will download 1226 files to /Users/theosun/go/src/github.com/Soontao/pdi-util/output
2018/11/24 13:00:05 Done