Allowlist command prefixes in YOLO mode

We use Nx monorepos and many of the commands are npx nx run [PROJECT]:[COMMAND]. Allowlisting each [COMMAND] across 50 libraries is cumbersome. Ideally, I could allowlist npx nx run * or npx nx run my-lib:*.

Yes thats it, i was wondering why many commands are not executed automatially e.g. for example sometimes the command like cmd do-something has options like cmd do-something --count

Naturally we cant list all cases.
It would be nice to prevent && or ; added to cli commands to prevent unwanted commands after the permitted ones.