pdi-util

command module
v1.0.9-snapshot Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Nov 24, 2018 License: MIT Imports: 5 Imported by: 0

README

SAP PDI Util Tools

CircleCI

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

Documentation

The Go Gopher

There is no documentation for this package.

Directories

Path Synopsis

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL