Hi, I was looking for a sensor that allowed me to customize the sensing logic. I couldn't find any way of doing this and wrote a BashSensor, which returns True or False based on a command/script's return code. The implementation is similar to the BashOperator, and it seems to me that it would fit pretty naturally within airflow.
Is there another way to achieve this that I don't know about? If you think it is worthwhile, I'm happy to work on some tests and a PR. Thank you!