diff options
| author | Benedikt Peetz <benedikt.peetz@b-peetz.de> | 2026-06-02 21:49:19 +0200 |
|---|---|---|
| committer | Benedikt Peetz <benedikt.peetz@b-peetz.de> | 2026-06-02 21:49:19 +0200 |
| commit | f3322f97c71e70409a92155c0599febd43eb4a37 (patch) | |
| tree | 02a1ed56d808f21005a043f56c9c123e0863a982 /pkgs/by-name/lf/lf-make-map/src/cli.rs | |
| parent | pkgs/*/flake.nix: Actually instantiate `nixpkgs` instead of just loading (diff) | |
| download | nixos-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.rs | 6 |
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)] |
