Check if a command is covered by (equal to or a segment-wise child of) another command.
Commands are compared by path segment, not by string prefix: /crypto covers
/crypto and /crypto/sign but not /cryptocurrency. The command / covers
every command.
Both commands are expected to be valid per assertIsValidCommand, so
${parent}/ is always a real segment boundary.
Check if a command is covered by (equal to or a segment-wise child of) another command.
Commands are compared by path segment, not by string prefix:
/cryptocovers/cryptoand/crypto/signbut not/cryptocurrency. The command/covers every command.Both commands are expected to be valid per assertIsValidCommand, so
${parent}/is always a real segment boundary.