Skip to content
jc-rs
GitHub

net-user

--net-userv1.0.0

Windows `net user` command parser

Windowscommand
$ net user | jc-rs --net-user

A real pair

From the reference corpus (windows/windows-7/net_user.json). The left pane is the input the fixture ships; the right pane is the corpus's expected JSON. The coverage note below explains why this pair does not enter the measured comparison. Hover a value to see where it came from.

net userwindows-7

User accounts for \\DESKTOP-WIN7

-------------------------------------------------------------------------------
Administrator            Guest                    user1
The command completed successfully.
expected outputjson
Use the Left and Right arrow keys to highlight the matching value in the input.
{
  "domain": "",
  "user_accounts": [
    {
      "user_name": "Administrator"
    },
    {
      "user_name": "Guest"
    },
    {
      "user_name": "user1"
    }
  ],
  "account_origin": "\\\\DESKTOP-WIN7"
}

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 net userjc-rs runs the command itself and parses what it prints. Recognised for: `net user`

Source: crates/jc-rs-parsers/src/misc/net_user.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