Skip to content

Commit

Permalink
[py-tx] Define 'tx' as additional CLI entry point (#1290)
Browse files Browse the repository at this point in the history
  • Loading branch information
dougneal committed Mar 29, 2023
1 parent 1a3f630 commit acc1947
Showing 1 changed file with 6 additions and 1 deletion.
7 changes: 6 additions & 1 deletion python-threatexchange/setup.py
Original file line number Diff line number Diff line change
Expand Up @@ -66,5 +66,10 @@
"numpy==1.24.2", # faiss
],
extras_require=extras_require,
entry_points={"console_scripts": ["threatexchange = threatexchange.cli.main:main"]},
entry_points={
"console_scripts": [
"threatexchange = threatexchange.cli.main:main",
"tx = threatexchange.cli.main:main",
],
},
)

0 comments on commit acc1947

Please sign in to comment.