-
Notifications
You must be signed in to change notification settings - Fork 356
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
feat(cli): add listApps to display all installed apps on device (#5349)
* feat(cli): add listApps to display all installed apps on device * feat(cli): add listApps description and documentation
- Loading branch information
1 parent
317685e
commit 57497fb
Showing
4 changed files
with
31 additions
and
0 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,5 @@ | ||
--- | ||
"@ledgerhq/live-cli": patch | ||
--- | ||
|
||
add listApps command to display all installed apps on device |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,21 @@ | ||
import { from, tap } from "rxjs"; | ||
import { withDevice } from "@ledgerhq/live-common/hw/deviceAccess"; | ||
import listApps from "@ledgerhq/live-common/hw/listApps"; | ||
import { deviceOpt } from "../scan"; | ||
|
||
export default { | ||
description: "list all installed apps on the device", | ||
args: [deviceOpt], | ||
job: ({ | ||
device, | ||
}: Partial<{ | ||
device: string; | ||
}>) => | ||
withDevice(device || "")(t => | ||
from(listApps(t)).pipe( | ||
tap(res => { | ||
console.log(res); | ||
}), | ||
), | ||
), | ||
}; |
57497fb
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
[Bot] Daily non-reg on develop with 'Nitrogen' ✅ 179 txs ❌ 34 txs 💰 1 miss funds ($1,384.64) ⏲ 44min
4 critical spec errors
Spec Solana failed!
Spec Ethereum Ropsten failed!
Spec Evmos EVM failed!
Spec Klaytn failed!
❌ 34 mutation errors
Please increase the account target to at least 6 accounts
Please increase the account target to at least 6 accounts
Please increase the account target to at least 6 accounts
Please increase the account target to at least 6 accounts
Please increase the account target to at least 6 accounts
Please increase the account target to at least 7 accounts
Please increase the account target to at least 8 accounts
Portfolio ($1,384.64) – Details of the 63 currencies
tb1q49v356vqdtmffmfnd90stc04j7080acq0uzcr6
qzledmzs3mndzhu74475hq26dyh5jtkr858kspj8h4
AQgAFBJ4qDq5H66z8pV4FG6CwMeqs71LtV
XyyDJNgQrUVjtz18miykD2bMju7eYBEtgR
dgb1qmm5glfc8zsx4k6ca8pwtn09634z0rhm9l48lpv
DL416njmnzpe2G7FcBU4eniko5jYxLuPJ4
RPkAy14oG8WeWqYWbV4A9vaArvaTeExS4L
ltc1qsuccvjdqq7ng5nu83gq6yx7q3lwlhgmqkwfg9x
PSrGDBoZo9DQ1HdhuAHBtt8fCu1RC393qo
DLrjDzJBYdje7mfFiWjkoXcrjKHwVeFHG9
3HJsBXPqwmetJNTsLJRTobLiAbNrJaRkSQ
EXSLS6RvPEu6JaedydQdvsYBrwGYpd1h29
t1bYBuoe7JmQxXJ9duU2t7piAStGeyPTEbT
znUTi5H2ttEBQCVSLtDSvJjXJHtHkE9cGkV
02026B93627Ed2F76551E7CeF0466468B12db8Fab806266107b69947D9c95CEd9E7c
0x246FFDB387F1F8c48072E1C13443540017bC71b7
osmo1rs97j43nfyvc689y5rjvnnhrq3tes6ghn8m44l
desmos1rs97j43nfyvc689y5rjvnnhrq3tes6gh0y9454
dydx1rs97j43nfyvc689y5rjvnnhrq3tes6ghj9xpr6
umee1rs97j43nfyvc689y5rjvnnhrq3tes6ghf2468l
persistence1rs97j43nfyvc689y5rjvnnhrq3tes6gh4swkdf
quick1rs97j43nfyvc689y5rjvnnhrq3tes6ghscch6l
onomy1rs97j43nfyvc689y5rjvnnhrq3tes6ghpaunjg
sei1rs97j43nfyvc689y5rjvnnhrq3tes6ghksen9v
stars1rs97j43nfyvc689y5rjvnnhrq3tes6gh0qlcgu
core1rs97j43nfyvc689y5rjvnnhrq3tes6ghgjs7yk
inj1vzjwweta3hegt99vfgrvmcq7rr5532yjsgxd4a
cro14zpaxs3msrdnx5ch3m3y3yue0wwwevrf2hmwra
erd18n5sk95fq9dtgdsa9m9q5ddp66ch9cq5lpjflwn5j9z8x2e9h0qqrvk5qp
0.0.3664563
f2ed4c9253d3aca7d679bfa9f528d13e85c7f522b8857e094c850a157b750209
0573d7a9c745fa9fe224b080832aa93d740760b94f192c9c141c709945e9aaaf
r9etPtq3oboweMPju5gdYufmvwhH2euz8z
5vhAGihUC1uKucJvreCgWWXB6LEptPwkwpqhkq9M6iaz
SP2J4VHFRAT94KY6NFT6129HBA382S6R98W9ABFG2
GDJPZPOWITPCBX3TIHB6N7E4WCHS6JBZKSNWGU34QYCJXKWBTUZY5RYC
tz1aDK1uFAmnUXZ7KJPEmcCEFeYHiVZ56zVF
TM4WJOS4MZ2TD775W7GSXZMBUF74YT6SKSBXCZY3N7OUIAPXE54MZ5FCD4
0x7584df0780C5eB83b26aE55abBc265014f8bf897
0x60A4E7657D8df28594ac4A06CDe01E18E948a892
0x60A4E7657D8df28594ac4A06CDe01E18E948a892
0x60A4E7657D8df28594ac4A06CDe01E18E948a892
0x60A4E7657D8df28594ac4A06CDe01E18E948a892
0x60A4E7657D8df28594ac4A06CDe01E18E948a892
0x770aB35d6C2Bc4fe41f616be47B626Ef7a2810E9
0x60A4E7657D8df28594ac4A06CDe01E18E948a892
0x60A4E7657D8df28594ac4A06CDe01E18E948a892
0x60A4E7657D8df28594ac4A06CDe01E18E948a892
0x60A4E7657D8df28594ac4A06CDe01E18E948a892
0x60A4E7657D8df28594ac4A06CDe01E18E948a892
0x60A4E7657D8df28594ac4A06CDe01E18E948a892
0x60A4E7657D8df28594ac4A06CDe01E18E948a892
0x60A4E7657D8df28594ac4A06CDe01E18E948a892
0xe404f128644459C5A0F6FAc6824AdA8F94798c8f
0x60A4E7657D8df28594ac4A06CDe01E18E948a892
0x60A4E7657D8df28594ac4A06CDe01E18E948a892
0x60A4E7657D8df28594ac4A06CDe01E18E948a892
0x60A4E7657D8df28594ac4A06CDe01E18E948a892
0x60A4E7657D8df28594ac4A06CDe01E18E948a892
0x60A4E7657D8df28594ac4A06CDe01E18E948a892
Performance ⏲ 44min
Time spent for each spec: (total across mutations)
57497fb
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
[Bot] Evm on Staging ($0.00) ⏲ 28.3s
6 critical spec errors
Spec Avalanche C-Chain failed!
Spec Binance Smart Chain failed!
Spec Ethereum failed!
Spec Ethereum Classic failed!
Spec Polygon failed!
Spec Ethereum Goerli failed!
Details of the 0 mutations
Spec Avalanche C-Chain (failed)
Spec Binance Smart Chain (failed)
Spec Ethereum (failed)
Spec Ethereum Classic (failed)
Spec Polygon (failed)
Spec Ethereum Goerli (failed)
Details of the 16 uncovered mutations
Spec Avalanche C-Chain (2)
Spec Binance Smart Chain (3)
Spec Ethereum (3)
Spec Ethereum Classic (2)
Spec Polygon (3)
Spec Ethereum Goerli (3)
Portfolio ($0.00) – Details of the 6 currencies
Performance ⏲ 28.3s
Time spent for each spec: (total across mutations)
57497fb
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
[Bot] Bitcoin on Staging 💰 1 miss funds ($0.00) ⏲ 2min 19s
16 critical spec errors
Spec Bitcoin failed!
Spec Bitcoin Testnet failed!
Spec Bitcoin Cash failed!
Spec Bitcoin Gold failed!
Spec Dash failed!
Spec Digibyte failed!
Spec DogeCoin failed!
Spec Komodo failed!
Spec Litecoin failed!
Spec PivX failed!
Spec Qtum failed!
Spec Vertcoin failed!
Spec Viacoin failed!
Spec ZCash failed!
Spec Horizen failed!
Spec Decred failed!
Details of the 0 mutations
Spec Bitcoin (failed)
Spec Bitcoin Testnet (failed)
Spec Bitcoin Cash (failed)
Spec Bitcoin Gold (failed)
Spec Dash (failed)
Spec Digibyte (failed)
Spec DogeCoin (failed)
Spec Komodo (failed)
Spec Litecoin (failed)
Spec Peercoin (5)
Spec PivX (failed)
Spec Qtum (failed)
Spec Vertcoin (failed)
Spec Viacoin (failed)
Spec ZCash (failed)
Spec Horizen (failed)
Spec Decred (failed)
Details of the 85 uncovered mutations
Spec Bitcoin (5)
Spec Bitcoin Testnet (5)
Spec Bitcoin Cash (5)
Spec Bitcoin Gold (5)
Spec Dash (5)
Spec Digibyte (5)
Spec DogeCoin (5)
Spec Komodo (5)
Spec Litecoin (5)
Spec Peercoin (5)
Spec PivX (5)
Spec Qtum (5)
Spec Vertcoin (5)
Spec Viacoin (5)
Spec ZCash (5)
Spec Horizen (5)
Spec Decred (5)
Portfolio ($0.00) – Details of the 17 currencies
PDPyJnGHyzGph4dscqcJa32RcbaKdvZp2U
Performance ⏲ 2min 19s
Time spent for each spec: (total across mutations)