Skip to content

Use unified flag=value format for all command arguments#16

Merged
czoido merged 3 commits intomainfrom
czoido/fix-run-args
Nov 7, 2025
Merged

Use unified flag=value format for all command arguments#16
czoido merged 3 commits intomainfrom
czoido/fix-run-args

Conversation

@czoido
Copy link
Copy Markdown
Contributor

@czoido czoido commented Nov 7, 2025

Refactor all command argument construction to use the unified --flag=value format instead of the separated ["--flag", "value"] format across all tools.

When using the separated format ["--flag", user_input], if user_input contains spaces or special characters, it may be interpreted as separate arguments. The unified --flag=value format treats the value as an atomic unit, preventing misinterpretation.

This prevents potential command injection when user-provided values are passed as command arguments.

@czoido czoido requested a review from ErniGH November 7, 2025 10:33
@czoido czoido merged commit a45e0a1 into main Nov 7, 2025
1 check passed
@czoido czoido deleted the czoido/fix-run-args branch November 12, 2025 17:13
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 this pull request may close these issues.

2 participants