Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Extend k6 with subcommands #4015

Open
szkiba opened this issue Oct 24, 2024 · 0 comments
Open

Extend k6 with subcommands #4015

szkiba opened this issue Oct 24, 2024 · 0 comments
Labels
enhancement evaluation needed proposal needs to be validated or tested before fully implementing it in k6

Comments

@szkiba
Copy link
Contributor

szkiba commented Oct 24, 2024

What

As a k6 extension developer, I would like to extend the k6 CLI functionality with subcommands.

In addition, CLI tools are sometimes being developed for k6 JavaScript/Output extensions.
I would like to embed these tools together with the extension into k6.

Why

The best user experience for k6-related tools is embedding them as subcommands.

Embedding into k6 simplifies the distribution and use of these tools.

How

In addition to the JavaScript and Output k6 extension types, a Command extension type should be introduced.

The Command extension would be suitable for creating a k6 subcommand.

Related

An earlier attempt at this topic:

It is advisable to take these into account during planning/implementation:

@olegbespalov olegbespalov removed their assignment Nov 20, 2024
@olegbespalov olegbespalov added enhancement evaluation needed proposal needs to be validated or tested before fully implementing it in k6 and removed triage labels Nov 20, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement evaluation needed proposal needs to be validated or tested before fully implementing it in k6
Projects
None yet
Development

No branches or pull requests

2 participants