https://github.com/pallets/flask/issues/1907 seems to be fixed, so the workaround starting on following line can be probably removed: https://github.com/pyvec/elsa/blob/9672d65fdc48feaec3a3963204f1569fd013ad49/elsa/_cli.py#L74