pokt-network / pocket

Official implementation of the Pocket Network Protocol v1
https://pokt.network
MIT License
61 stars 33 forks source link

QOL: add bash completion for p1 to localnet client #865

Closed 0xBigBoss closed 1 year ago

0xBigBoss commented 1 year ago

if you ever wondered if we could have tab completions inside localnet fret no more! This PR adds it to the cli client pod so you don't have to.

I looked at adding it to the docker setup, but that's not using the binary.

Enjoy! 👩🏻‍💻

make localnet_up # of course
make localnet_shell
root@dev-cli-client-9f4579876-5pmn7:~# p1 <TAB>
# Account  (Account specific commands)
# Application  (Application actor specific commands)
# Consensus  (Consensus specific commands)
# Fisherman  (Fisherman actor specific commands)
# Governance  (Governance specific commands)
# Keys  (Key specific commands)
# Query  (Commands related to querying on-chain data via the node's RPC server)
# Servicer  (Servicer specific commands)
# System  (Commands related to health and troubleshooting of the node instance)
# Validator  (Validator actor specific commands)
# completion  (Generate the autocompletion script for the specified shell)
# debug  (Debug utility for rapid development)
# help  (Help about any command)
# {"level":"debug","time":"2023-06-30T03:13:31Z","message":"Debug keybase initializing... Restoring from the embedded backup file..."}