Closed
Description
Rationale
Unlike WSGI applications, CLI tools usually offer no mechanism to be consistently monkeypatched, thus hampering any call to sentrysdk.init(). If the tool configuration was a python file or the shell script was fully wrapped in an importable main function, one could still hack a way to initialize sentry. But this is not always a possibility.
Still, tools can usually be told to use a particular file configuration for the standard logging system.
Proposal
I'd love that sentry provided a mechanism to initialize itself on this kind of tooling, specially for scripts that are meant to be run as daemons in some frameworks.