Skip to content

Add Python module entry point - #818

Open
YonLiud wants to merge 1 commit into
sensepost:masterfrom
YonLiud:feature/python-module-entrypoint
Open

Add Python module entry point#818
YonLiud wants to merge 1 commit into
sensepost:masterfrom
YonLiud:feature/python-module-entrypoint

Conversation

@YonLiud

@YonLiud YonLiud commented Sep 1, 2026

Copy link
Copy Markdown

Adds objection/__main__.py so Objection can be invoked using python -m objection.

This is useful when the generated console-script directory is missing from PATH, which is common with per-user Python installations (specifically on Windows).

Also includes a subprocess test confirming that the module entry point invokes the existing Click CLI.

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