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.0.tar.gz
(7.6 kB
view hashes)
Built Distribution
Close
Hashes for python_pdcli-0.1.0-py3-none-any.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | 07f959c62b23fc23aa7141957f4b748e66448046532d6ec5c27fff1a1ec89556 |
|
MD5 | 8ef1ac75308c6e89400077a308401099 |
|
BLAKE2b-256 | a4f24bb5ec37322c30b75cda964483600ccf66097d0796bc20bc95a1301f2c8e |