Skip to main content

Module command_key

Module command_key 

Source
Expand description

command_key helpers: strip cosmetic noise, keep significant args.

Constants§

NOISE_FLAGS
Purely cosmetic flags that don’t change what ran (spec §11.2).

Functions§

build_key
Build a colon-joined key from a family prefix and significant tokens, falling back to default when there are none.
command_original
Human-facing command string, e.g. pnpm run test.
drop_noise
Drop noise flags, keeping the rest in order.
is_noise