package

github.com/Andriamanitra/flwrap

main / published Jun 25, 2022 / repository

A wrapper that allows you to use fancyline with any executable/command

flwrap

Wrapper similar to rlwrap but using Crystal library fancyline instead of readline. Allows you to get history, some keyboard shortcuts for editing, and auto-completion in any program.

Installation

$ shards install
$ shards build --release
$ ./bin/flwrap --help

Usage

$ flwrap tclsh  # without completions
$ flwrap -f completions.txt tclsh  # with completions from file (one per line)

Contributing

  1. Fork it (https://github.com/andriamanitra/flwrap/fork)
  2. Create your feature branch (git checkout -b my-new-feature)
  3. Commit your changes (git commit -am 'Add some feature')
  4. Push to the branch (git push origin my-new-feature)
  5. Create a new Pull Request

Contributors

API