The reader knows the grammar approximately: that mv takes a status, not whether it is a positional or --status, and that set has a flag per section, not whether the criteria one is --acceptance or --criteria. In a shell fish answers that as the line is typed. On the board there was nothing, and getting it wrong cost a rejected line and a guess. usage_of walks the typed verb against the clap definition and renders its usage, so a flag added to a command is described here the day it is added. A table of synopses kept beside it would be a second grammar, and it would go stale silently: nothing but a reader typing that verb would ever see the two disagree. The Usage: label is dropped, being the name of a block in a help page of several where this is one line beside the line it describes. It takes the keys' slot. esc and enter are two keys a reader learns once, against a synopsis that is different for every verb; a refusal still wins over both while it is up, being what was just said about the line that is still on the row. refusal is the half that says what is wrong where this says what would have been right. A verb that resolves to nothing draws nothing and complains about nothing, since the line is half typed most of the time the row is looked at. A group's child is walked when the second word names one, so campaign set describes set; while that word is half typed the group's own usage stands. Grey, and cut with an ellipsis rather than wrapped: the footer is one row and a second would reflow the columns every time a verb resolved. There is always at least the keys' width to cut into, because that width comes off the row before the line is windowed, so the usage never takes a cell from what is being typed. Co-Authored-By: Claude Opus 5 (1M context) <noreply@anthropic.com>
25 lines
702 B
TOML
25 lines
702 B
TOML
[package]
|
|
name = "worklane"
|
|
version = "0.33.7"
|
|
edition = "2024"
|
|
|
|
[dependencies]
|
|
clap = { version = "4", features = ["derive"] }
|
|
anyhow = "1"
|
|
uuid = { version = "1", features = ["v4"] }
|
|
chrono = { version = "0.4", features = ["serde"] }
|
|
libc = "0.2"
|
|
# unstable-rendered-line-info for Paragraph::line_count, which is how the detail view
|
|
# knows where its text ends. Counting the wrapping by hand would only agree with the
|
|
# widget until one of us changed.
|
|
ratatui = { version = "0.29", features = ["unstable-rendered-line-info"] }
|
|
crossterm = "0.28"
|
|
clap_complete = "4.6.9"
|
|
serde = { version = "1", features = ["derive"] }
|
|
toml = "0.8"
|
|
|
|
[dev-dependencies]
|
|
assert_cmd = "2"
|
|
assert_fs = "1"
|
|
tempfile = "3"
|