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 hashes)
Built Distribution
Close
Hashes for python_pdcli-0.1.3-py3-none-any.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | 713bf1563a3593b68503c867332ff3e8785d2ccb87041d5f1d578d9fab864c9f |
|
MD5 | 6109ecdff933b1ce6f633d3266e46aa6 |
|
BLAKE2b-256 | f48369a45c24da7cb89650de331a10a7875f8be8a0cbe48d125f25f56f991507 |