Skip to content

Support shell completions in auto-provisioned extensions #5757

@inancgumus

Description

@inancgumus

Feature description

Shell completions don't work for auto-provisioned extensions.

When a user presses Tab after k6 x docs , nothing happens. Auto-provisioning only kicks in when the user runs a command. The shell's completion request goes to the stock k6 binary, which has no knowledge of the extension.

Extensions built with xk6 work fine because the extension lives in the binary.

Suggested solution

Route completion requests through the same provisioning path as regular extension commands.

Already existing or connected issues / PRs

Metadata

Metadata

Assignees

Labels

area: Auto Extension ResolutionPreviously known as binary provisioning.xk6issues related to how k6 supports building extensions using xk6

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions