@flowscripter/dynamic-cli-framework-api
    Preparing search index...

    Interface ValidationContext

    Context passed to Argument.validate alongside the value being validated.

    interface ValidationContext {
        argument: Argument;
        command: Command;
        path: string;
        values: PopulatedSingleValueType | PopulatedValues;
    }
    Index
    argument: Argument

    The argument whose value is being validated.

    command: Command

    The Command the argument belongs to.

    path: string

    Path of the value being validated within the command's values, e.g. address[1].port. For a top level argument this is the argument name.

    All provided values of the command, always from the root of the command's values regardless of how deeply nested the validated argument is. For a GlobalCommand this is the single argument value.