Skip to content

thibault-ketterer/cosmos-completion

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

11 Commits
 
 
 
 
 
 
 
 
 
 

Repository files navigation

description

bash and zsh completion for cosmos like cli (with a genereic approach)

tested on:

features

parse the cli output to auto generate the completion (if the cli evolves, the completion will auto update itself)

install and use

for bash

wget https://raw.githubusercontent.com/thibault-ketterer/cosmos-completion/main/autocomplete-cosmos.bash
mv autocomplete-cosmos.bash ~/
echo "source ~/autocomplete-cosmos.bash" >> ~/.bashrc

for zsh

wget https://raw.githubusercontent.com/thibault-ketterer/cosmos-completion/main/autocomplete-cosmos.zsh
mv autocomplete-cosmos.zsh ~/
echo "source ~/autocomplete-cosmos.zsh" >> ~/.zshrc

demo with namada

Demo asciinema namada completion

About

bash an zsh completion for namada cli

Resources

License

Stars

Watchers

Forks

Packages

No packages published

Languages