vigiles API reference
    Preparing search index...

    Interface StubRule

    One rule: an argv pattern, optional order-free tokens, and a reply.

    interface StubRule {
        argv: ArgvPattern;
        contains?: readonly ArgvToken[];
        reply: StubReply;
    }
    Index

    Properties

    Properties

    contains?: readonly ArgvToken[]

    Tokens that must each match some argv token AFTER the positional prefix, in any order — for flags a model writes in any order (--repo o/r or -R o/r). Needs a trailing rest in argv (without it nothing follows the prefix).

    reply: StubReply