Rusty Reaper solved the immediate need for a utility that would help manage our Jenkins AWS images. But the tool was fairly limited; we could find images for a specific language or platform but basic functions like sorting or filtering those results. Rather than building all of that functionality into Rusty Reaper it seemed simpler to leverage an existing tool to help us out. Enter nushell.
The code in this repo implements a nushell plugin to expose Rusty Reaper functionality in nushell. At the moment it's a source only; there's no notion of supporting deletion of some set of image IDs, although something like that could certainly be added at a later date.
Pretty much what you'd expect here: cargo build --release
Once the plugin is built and imported into a nushell session you can access the
functionality via the list command:
$ ~/path/to/nu
__ ,
.--()°'.' Welcome to Nushell,
'|, . ,' based on the nu language,
!_-(_\ where all data is structured!
...
~/rusty-reaper-nushell> plugin add target/release/nu_plugin_rr
~/rusty-reaper-nushell> plugin use rr
~/rusty-reaper-nushell> list "java"
╭───┬───────────────────────────────┬───────────────────────┬──────────────────────────╮
│ # │ name │ image_id │ creation_date │
├───┼───────────────────────────────┼───────────────────────┼──────────────────────────┤
│ 0 │ java-driver-jammy-64-00000001 │ ami-00000000000000001 │ 2026-02-19T20:47:16.000Z │
│ 1 │ java-driver-jammy-64-00000002 │ ami-00000000000000002 │ 2026-02-24T07:37:27.000Z │
│ 2 │ java-driver-focal-64-00000003 │ ami-00000000000000003 │ 2026-06-03T23:05:11.000Z │
│ 3 │ java-driver-jammy-64-00000004 │ ami-00000000000000004 │ 2026-02-25T01:27:57.000Z │
│ 4 │ java-driver-jammy-64-00000005 │ ami-00000000000000005 │ 2026-02-26T21:42:02.000Z │
╰───┴───────────────────────────────┴───────────────────────┴──────────────────────────╯
From here this data can be manipulated using the full set of commands provided by nushell. A simple example:
~/rusty-reaper-nushell> list "java" | sort-by "creation_date"
╭───┬───────────────────────────────┬───────────────────────┬──────────────────────────╮
│ # │ name │ image_id │ creation_date │
├───┼───────────────────────────────┼───────────────────────┼──────────────────────────┤
│ 0 │ java-driver-jammy-64-00000001 │ ami-00000000000000001 │ 2026-02-19T20:47:16.000Z │
│ 1 │ java-driver-jammy-64-00000002 │ ami-00000000000000002 │ 2026-02-24T07:37:27.000Z │
│ 2 │ java-driver-jammy-64-00000004 │ ami-00000000000000004 │ 2026-02-25T01:27:57.000Z │
│ 3 │ java-driver-jammy-64-00000005 │ ami-00000000000000005 │ 2026-02-26T21:42:02.000Z │
│ 4 │ java-driver-focal-64-00000003 │ ami-00000000000000003 │ 2026-06-03T23:05:11.000Z │
╰───┴───────────────────────────────┴───────────────────────┴──────────────────────────╯
The Rusty Reaper Nushell plugin is distributed under the MIT license. Check out the LICENSE file
in the repo and go nuts.