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

Composable utilities for Dart 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
autoload -Uz compinit && compinit
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
Add-Content -Path $PROFILE -Value '. ~/.tab-completion.ps1'

Try <TAB> #

tab <TAB>

args Adapter #

dart compile exe args_example.dart --output=args_example

# bash
source <(args_example complete bash)

# zsh
autoload -Uz compinit && compinit
source <(args_example complete zsh)

# fish, Remember to delete it after you finish your experience!
args_example complete fish > ~/.config/fish/completions/args_example.fish

# powershell
args_example complete powershell > ~/.args_example-completion.ps1
Add-Content -Path $PROFILE -Value '. ~/.args_example-completion.ps1'

Try it:

args_example <TAB>
3
likes
150
points
70
downloads

Documentation

API reference

Publisher

verified publishermedz.dev

Weekly Downloads

Composable utilities for Dart command-line apps.

Repository (GitHub)
View/report issues

License

MIT (license)

Dependencies

args, characters, unorm_dart

More

Packages that depend on coal