coal 0.0.4
coal: ^0.0.4 copied to clipboard
A suite for easily building beautiful command-line apps.
Coal Examples #
Basic setup:
git clone https://github.com/medz/coal.git
cd coal && dart pub get && cd example
export PATH="$(pwd):$PATH"
<TAB> #
Setup:
dart compile exe tab.dart --output=tab
# bash
source <(tab complete bash)
# zsh
source <(tab complete zsh)
# fish, Remember to delete it after you finish your experience!
tab complete fish > ~/.config/fish/completions/tab.fish
# powershell
tab complete powershell > ~/.tab-completion.ps1
echo '. ~/.tab-completion.ps1' > $PROFILE
Try <TAB> #
tab <TAB>
args Adapter #
dart compile exe args_example.dart --output=args_example
# bash
source <(tab args_example bash)
# zsh
source <(tab args_example zsh)
# fish, Remember to delete it after you finish your experience!
tab args_example fish > ~/.config/fish/completions/args_example.fish
# powershell
tab args_example powershell > ~/.args_example-completion.ps1
echo '. ~/.args_example-completion.ps1' > $PROFILE
Try it:
args_example <TAB>