aboutsummaryrefslogtreecommitdiffstats
path: root/pkgs/by-name/lf/lf-make-map/src/cli.rs
diff options
context:
space:
mode:
authorBenedikt Peetz <benedikt.peetz@b-peetz.de>2026-06-02 21:49:19 +0200
committerBenedikt Peetz <benedikt.peetz@b-peetz.de>2026-06-02 21:49:19 +0200
commitf3322f97c71e70409a92155c0599febd43eb4a37 (patch)
tree02a1ed56d808f21005a043f56c9c123e0863a982 /pkgs/by-name/lf/lf-make-map/src/cli.rs
parentpkgs/*/flake.nix: Actually instantiate `nixpkgs` instead of just loading (diff)
downloadnixos-config-f3322f97c71e70409a92155c0599febd43eb4a37.zip
pkgs/lf-make-map: Implement an interactive mode
This mode effectively replaces the display lf gives you for mappings.
Diffstat (limited to 'pkgs/by-name/lf/lf-make-map/src/cli.rs')
-rw-r--r--pkgs/by-name/lf/lf-make-map/src/cli.rs6
1 files changed, 6 insertions, 0 deletions
diff --git a/pkgs/by-name/lf/lf-make-map/src/cli.rs b/pkgs/by-name/lf/lf-make-map/src/cli.rs
index 70746984..25a5a626 100644
--- a/pkgs/by-name/lf/lf-make-map/src/cli.rs
+++ b/pkgs/by-name/lf/lf-make-map/src/cli.rs
@@ -50,6 +50,12 @@ pub enum Command {
#[command(flatten)]
options: CommandOptions,
},
+
+ /// Perform interactive selection, and then cd-there.
+ Interactive {
+ #[command(flatten)]
+ options: CommandOptions,
+ },
}
#[derive(Debug, Parser)]