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

Fix subcommand flags handling #48

Closed
szkiba opened this issue Oct 15, 2024 · 0 comments · Fixed by #49
Closed

Fix subcommand flags handling #48

szkiba opened this issue Oct 15, 2024 · 0 comments · Fixed by #49
Assignees

Comments

@szkiba
Copy link
Collaborator

szkiba commented Oct 15, 2024

Passing subcommand specific flags is not possible. k6exec swallows these flags because it has no information about the k6 subcommand flags.

Proposal

The original argument array should be preserved in context. During the construction of the k6 command line, the subcommand arguments should be reconstructed using the argument list saved in the context.

@szkiba szkiba self-assigned this Oct 15, 2024
@szkiba szkiba linked a pull request Oct 15, 2024 that will close this issue
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging a pull request may close this issue.

1 participant