Better Abstraction in CLI `get_pubkey()`; Typo