mirror of
https://github.com/casey/just.git
synced 2024-11-23 11:04:09 +03:00
9d0246998d
The `--choose` subcommand runs a chooser to select a recipe to run. The chooser should read lines containing recipe names from standard input, and write one of those names to standard output. The chooser defaults to `fzf`, a popular fuzzy finder, but can be overridden by setting $JUST_CHOOSER or passing `--chooser <CHOOSER>`.
15 lines
338 B
Rust
15 lines
338 B
Rust
pub(crate) use std::{
|
|
collections::BTreeMap,
|
|
env, fs,
|
|
io::Write,
|
|
iter,
|
|
path::Path,
|
|
process::{Command, Stdio},
|
|
str,
|
|
};
|
|
|
|
pub(crate) use executable_path::executable_path;
|
|
pub(crate) use libc::{EXIT_FAILURE, EXIT_SUCCESS};
|
|
pub(crate) use test_utilities::{assert_stdout, tempdir, tmptree, unindent};
|
|
pub(crate) use which::which;
|