Age | Commit message (Collapse) | Author |
|
|
|
Trying to open '/dev/stdin' resulted in ENOENT. Instead use the
standard_input() helper to get the File.
|
|
|
|
Also add slightly richer parse errors now that we can include a string
literal with returned errors.
This will allow us to use TRY() when working with JSON data.
|
|
JsonValue::as_object() returns a reference.
|
|
|
|
...and make it an enum class so people don't omit "OpenMode".
|
|
SPDX License Identifiers are a more compact / standardized
way of representing file license information.
See: https://spdx.dev/resources/use/#identifiers
This was done with the `ambr` search and replace tool.
ambr --no-parent-ignore --key-from-file --rep-from-file key.txt rep.txt *
|
|
and customizable indentation level
An example: cat /proc/net/adapters | jp
Another example: cat /proc/all | jp -i 2 (indents are set to 2 spaces, instead of 4 by default)
|
|
|