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.2.tar.gz
(7.6 kB
view hashes)
Built Distribution
Close
Hashes for python_pdcli-0.1.2-py3-none-any.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | def752880e479d327fd02f528da5bc5d40a5434476b84271bd130fffd21c184f |
|
MD5 | 3fc40a8913803f5a268abadb6ccbcef4 |
|
BLAKE2b-256 | ab422a768d795c4e1dad87f632c7b2f5690603a8b84d0971ed9527ee96cf62da |