Browse Source

deviceid info

master
Jeff Moe 10 months ago
parent
commit
7f76c9585b
  1. 22
      eqx-get-deviceid

22
eqx-get-deviceid

@ -0,0 +1,22 @@
#!/bin/bash
# eqx-get-deviceid
#
# Give a device ID, get json
EQXDEVICEID="$1"
if [[ $1 == "" ]]
then \
echo -e "Need device ID"
echo -e "To get device IDs in a project, run:"
echo -e "eqx-get-project-devices [project name]"
echo
exit
fi
packet \
device get \
--json \
--id $EQXDEVICEID \
2>/dev/null
Loading…
Cancel
Save