If you take a look at the help of any command that sends a transaction:
https://github.com/ElrondNetwork/elrond-sdk-erdpy/blob/main/erdpy/CLI.md#contractdeploy
--ledger ???? bool flag for signing transaction using ledger
--ledger-account-index LEDGER_ACCOUNT_INDEX ???? the index of the account when using Ledger
--ledger-address-index LEDGER_ADDRESS_INDEX ???? the index of the address when using Ledger
If you take a look at the help of any command that sends a transaction: https://github.com/ElrondNetwork/elrond-sdk-erdpy/blob/main/erdpy/CLI.md#contractdeploy --ledger ???? bool flag for signing transaction using ledger --ledger-account-index LEDGER_ACCOUNT_INDEX ???? the index of the account when using Ledger --ledger-address-index LEDGER_ADDRESS_INDEX ???? the index of the address when using Ledger