mirror of
https://github.com/morluto/rea.git
synced 2026-11-16 19:53:50 +00:00
* test(cli): capture CLI parity goldens before replacing incur * test(cli): cover completion groups, aliases and hand-built enums in the parity goldens * refactor(cli): own the shell completion protocol instead of incur's Completions (#11665) * test(cli): keep root help goldens stable for longer names and let recording add cases
56 lines
1.2 KiB
Plaintext
56 lines
1.2 KiB
Plaintext
$ rea inspect-byte-entropy --schema
|
|
exit: 0
|
|
--- stdout
|
|
args:
|
|
type: object
|
|
properties:
|
|
path:
|
|
type: string
|
|
minLength: 1
|
|
pattern: "^[^\\x00]*$"
|
|
description: Local file
|
|
required[1]: path
|
|
additionalProperties: false
|
|
options:
|
|
type: object
|
|
properties:
|
|
blockSize:
|
|
default: 4096
|
|
anyOf[2]:
|
|
- type: integer
|
|
minimum: 256
|
|
maximum: 65536
|
|
- type: string
|
|
pattern: "^[0-9]+$"
|
|
description: Power-of-two block size from 256 to 65536 bytes
|
|
offset:
|
|
default: 0
|
|
anyOf[2]:
|
|
- type: integer
|
|
minimum: 0
|
|
maximum: 9007199254740991
|
|
- type: string
|
|
pattern: "^[0-9]+$"
|
|
description: Window start as a decimal file byte offset
|
|
length:
|
|
anyOf[2]:
|
|
- type: integer
|
|
minimum: 0
|
|
maximum: 9007199254740991
|
|
- type: string
|
|
pattern: "^[0-9]+$"
|
|
description: Window length in bytes; omit to extend through EOF
|
|
additionalProperties: false
|
|
globals:
|
|
type: object
|
|
properties:
|
|
timings:
|
|
default: false
|
|
description: Write measured command timing to stderr.
|
|
type: boolean
|
|
required[1]: timings
|
|
additionalProperties: false
|
|
<end>
|
|
--- stderr
|
|
<end>
|