CLI arguments handler that handles options for query execution.

Implements

Constructors

  • Parameters

    • defaultQueryInputFormat: undefined | string
    • queryString: undefined | string
    • context: undefined | string
    • allowNoSources: undefined | boolean

    Returns CliArgsHandlerQuery

Methods

  • Process the incoming arguments, and modify the context if needed.

    Parameters

    • args: Record<string, any>

      The parsed yargs arguments.

    • context: Record<string, any>

      The mutable context.

    Returns Promise<void>