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.0.3.tar.gz
(7.6 kB
view hashes)
Built Distribution
Close
Hashes for python_pdcli-0.0.3-py3-none-any.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | 0f8a1a45bdee11e846a99ad1a2b9bbf012c253130d456bb47358051656f3b5cf |
|
MD5 | 94a6ef0b1052864900c70ca400849ad6 |
|
BLAKE2b-256 | 872834d5f26b1d19326ff686fc23922d6c6eedf3ce0ff4997ed98c73fd78b35f |