1pdc_client(1)               General Commands Manual              pdc_client(1)
2
3
4

NAME

6       pdc_client - work with a PDC instance
7

SYNOPSIS

9       pdc_client -s SERVER [OPTIONS...]
10

DESCRIPTION

12       pdc_client provides access a given PDC instance for reading and writing
13       data.  If you have a Kerberos ticket, it will automatically  obtain  an
14       access token.
15

OPTIONS

17       -s, --server=SERVER
18              Set  which URL to connect to.  There are shortcuts available for
19              RedHat hosted instances (prod, stage, qa, dev).  The server  URL
20              needs  to  include path to the API root (usually /rest_api/v1/).
21              This argument is always required.
22
23       -x, --request=METHOD
24              Select which method to  perform  on  the  resource.   This  maps
25              directly  to  HTTP  methods, so GET, POST, PUT, PATCH and DELETE
26              are available.  Default is GET.
27
28       -r, --resource=RESOURCE
29              Select which resource to manipulate.   If  omitted,  a  list  of
30              available  resource is printed.  For accessing a single instance
31              of a resource, specify RESOURCE_NAME/INSTANCE_ID.  The  instance
32              identifier depends on what resource you are operating on.
33
34       -d, --data=DATA
35              Specify data to be sent to the server.  The data must be format‐
36              ted as JSON.
37
38       -f, --file=FILE
39              Like -d, but reads data from file instead of command line  argu‐
40              ment.   If  FILE is specified as -, standard input will be read.
41              Only one of -d and -f can be used simultaneously.
42
43       -t, --traceback
44              Print traceback information in case of an error.
45
46       --debug
47              Show details about performed requests.
48

FILES

50       /etc/pdc/client_config.json
51              Site-wide host configuration file. Has to be valid JSON.
52       $HOME/.config/pdc/client_config.json
53              Personal host configuration file which overrides identical  keys
54              from site-wide configuration file.
55
56

BUGS

58       If you find a bug in the client, report at
59       https://github.com/product-definition-center/pdc-client/issues/.
60
61
62
63                                                                 pdc_client(1)
Impressum