Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
7 changes: 1 addition & 6 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -21,12 +21,7 @@ A CLI to interact with the Internet Computer App on Ledger Nano S/X devices.
- If you don't have mise install, you can install it with `curl https://mise.run | sh`
- Install dependencies with `npm install`.

To execute a command, you can use `npm run execute -- <args>`.

For example

- The command `ic-hardware-wallet --network https://nnsdapp.dfinity.network icp balance`.
- Would be `npm run execute -- --network http://127.0.0.1:4943 icp balance` for development.
To execute a command, you can use `just run <args>`. Example: `just run --help`

## USB connection issues with Ledger Live

Expand Down
7 changes: 7 additions & 0 deletions justfile
Original file line number Diff line number Diff line change
@@ -0,0 +1,7 @@
# Run CLI
run *commands:
npx ts-node ./src/index.ts {{commands}}

# Alias for run
alias r := run

1 change: 1 addition & 0 deletions mise.toml
Original file line number Diff line number Diff line change
@@ -1,2 +1,3 @@
[tools]
just = "1.38.0"
npm = "11.6.2"
268 changes: 0 additions & 268 deletions package-lock.json

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.