PD cli
Project description
PD cli
Test
export PD_ACCOUNT_TOKEN=xyz
pd ls \
--statuses=acknowledged,triggered --since=$(date -v -1d +%F) --column \
| column -t -s$'\t'
Default output is json string. In order to extract field:
# to extract "id" from user record
pd user --user-id=me | jq -r .id
Reference
Project details
Download files
Download the file for your platform. If you're not sure which to choose, learn more about installing packages.
Source Distribution
python-pdcli-0.1.3.tar.gz
(7.6 kB
view details)
Built Distribution
File details
Details for the file python-pdcli-0.1.3.tar.gz
.
File metadata
- Download URL: python-pdcli-0.1.3.tar.gz
- Upload date:
- Size: 7.6 kB
- Tags: Source
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/3.8.0 pkginfo/1.8.2 readme-renderer/32.0 requests/2.27.1 requests-toolbelt/0.9.1 urllib3/1.26.8 tqdm/4.62.3 importlib-metadata/4.11.1 keyring/23.5.0 rfc3986/2.0.0 colorama/0.4.4 CPython/3.9.10
File hashes
Algorithm | Hash digest | |
---|---|---|
SHA256 | f20315b004ecb4fddb1e7bde3a669c1d07cecfa9e250572b2d6541c9c49bd0ca |
|
MD5 | 27d9c05ac4072b521f4c2d9e77504f3c |
|
BLAKE2b-256 | b8753be77221f88bb96014a3baf2162ffc0d9fc52f206fbf7d44a34aecae2634 |
File details
Details for the file python_pdcli-0.1.3-py3-none-any.whl
.
File metadata
- Download URL: python_pdcli-0.1.3-py3-none-any.whl
- Upload date:
- Size: 9.4 kB
- Tags: Python 3
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/3.8.0 pkginfo/1.8.2 readme-renderer/32.0 requests/2.27.1 requests-toolbelt/0.9.1 urllib3/1.26.8 tqdm/4.62.3 importlib-metadata/4.11.1 keyring/23.5.0 rfc3986/2.0.0 colorama/0.4.4 CPython/3.9.10
File hashes
Algorithm | Hash digest | |
---|---|---|
SHA256 | 713bf1563a3593b68503c867332ff3e8785d2ccb87041d5f1d578d9fab864c9f |
|
MD5 | 6109ecdff933b1ce6f633d3266e46aa6 |
|
BLAKE2b-256 | f48369a45c24da7cb89650de331a10a7875f8be8a0cbe48d125f25f56f991507 |