coal 0.0.4 copy "coal: ^0.0.4" to clipboard
coal: ^0.0.4 copied to clipboard

A suite for easily building beautiful command-line apps.

example/README.md

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>
1
likes
80
points
12
downloads

Publisher

unverified uploader

Weekly Downloads

A suite for easily building beautiful command-line apps.

Repository (GitHub)
View/report issues

Documentation

API reference

License

MIT (license)

Dependencies

characters, meta, unorm_dart

More

Packages that depend on coal