Repository
Current version released
2 years ago
dore
dore is a command-line interactive selector like peco and fzf written by deno.
Installation
deno install --allow-read --allow-write=/dev/tty --unstable -n dore https://deno.land/x/dore/main.ts
Usage
dore is a interactive selector, read the source list from STDIN or a file, and write the selected item to STDOUT.
# from STDIN
$ find * -type f | dore > selected
# from file
$ dore src.txt > selected
As library
dore can be used as library.
import { select } from "https://deno.land/x/dore/mod.ts";
const selected = await select(["foo", "bar", "baz"]);
console.log("SELECTED:", selected);