Skip to content

FIX: Support quoted initializer paths in shell#2093

Open
biefan wants to merge 1 commit into
microsoft:mainfrom
biefan:fix/shell-add-initializer-quoted-paths
Open

FIX: Support quoted initializer paths in shell#2093
biefan wants to merge 1 commit into
microsoft:mainfrom
biefan:fix/shell-add-initializer-quoted-paths

Conversation

@biefan

@biefan biefan commented Jun 28, 2026

Copy link
Copy Markdown
Contributor

Summary

  • Parse add-initializer paths with shell-style quoting so paths containing spaces work.
  • Report malformed quote errors before attempting registration.
  • Add regression coverage for quoted paths and malformed quotes.

Tests

  • uv run -m pytest tests/unit/cli/test_pyrit_shell.py tests/unit/cli -q
  • uv run pre-commit run --files pyrit/cli/pyrit_shell.py tests/unit/cli/test_pyrit_shell.py

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.

1 participant