Skip to content
jc-rs
GitHub

update-alt-gs

--update-alt-gsv1.0.0

Converts `update-alternatives --get-selections` command output to JSON

Linuxcommand
$ update-alternatives --get-selections | jc-rs --update-alt-gs

No worked example here

The reference corpus ships no fixture pair for this parser small enough to read on a page, so rather than invent one this page shows none. Run it against your own output.

Fixture coverage

noneThe reference corpus ships no oracle-valid fixture for this parser, so the differential cannot speak for it. That is reported, not hidden.

Magic syntax

jc-rs update-alternatives --get-selectionsjc-rs runs the command itself and parses what it prints. Recognised for: `update-alternatives --get-selections`

Source: crates/jc-rs-parsers/src/system/update_alt_gs.rs. jc-rs targets the schemas defined by the original Python tool. Fixture coverage above is the measured evidence for this parser; test the inputs your pipeline depends on. Compare