flwrap

Version, currently main branch1 version
  • main branchlatestJun 25, 2022

github.com/Andriamanitra/flwrap

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

0 stars
0 dependents
License: MPL-2

Installation

# Add this to your shard.yml
dependencies:
  flwrap:
    github: Andriamanitra/flwrap
    branch: main

main is a branch, not a release, so this tracks it rather than pinning a version.

Then run:

shards install

shard.yml

Crystal
>= 1.4, < 2.0.0
License
MPL-2
Author
Andriamanitra
Target
  • flwrap from src/flwrap_cli.cr

Dependencies

Runtime Dependencies

  • fancyline>= 0.4.1github: Papierkorb/fancyline

README

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