hkci
Command line interpreter for haskind.
This tool is used to explore the haskind library. haskind modules are loaded in the repl for you from the get go!
Install
$ npm install -g hkci$ hkci
Usage
Functions can be found in their appropriate module. To load functions directly
into the repl context, call it with module()
.
λ > Data.Maybe.Just
Cli Options
Various options are available, use hkci -h
for more info.
File loading
Files can be loaded into the repl using both the command line and through REPL commands.
hkci relative/path.js
Loaded files can then be reloaded using .reload
or .r
for short. To load
another file, use .load [filename]
or .l [filename]
.
~/.hkcirc
You can unlock more features using an rc file. options include:
- prompt - change the default prompt
- vim - adds readline-vim support
- bindings - vim keybindings to add to readline
- options - set cli options (by long name)
License
Copyright © 2016 Erik Sutherland. All rights reserved.