mirror of
https://github.com/trezor/trezor-firmware.git
synced 2025-01-05 13:01:12 +00:00
10 lines
173 B
Bash
10 lines
173 B
Bash
|
#!/usr/bin/env bash
|
||
|
|
||
|
if [ $# -ne 1 ]
|
||
|
then
|
||
|
echo "Usage: $0 [model]"
|
||
|
exit 1
|
||
|
fi
|
||
|
|
||
|
nix-shell --run "pipenv run trezorctl list | grep '$1' | cut -d' ' -f1 | tr -d '\n'"
|