argument

fun argument(name: String, value: String)(source)

Sets the argument for completion.

This method specifies the name and value of the argument to be completed. This is a required field and must be called exactly once.

Example:

completeRequest {
argument("query", "SELECT * FROM use")
// ... other configuration
}

Parameters

name

The name of the argument to complete

value

The partial or full value of the argument