# DEV TOOLS

Current directory contains util scripts for development and debugging.
PYTHON_PATH should be specified.

### debug.py

Contains decorators for disabling tasks and activities.
```python
from dev.debug import disable_activity
from dev.debug import skip_task


class Flow:

    @property
    @disable_activity
    def some_activity(self):
        pass

@task.decorate()
@skip_task
def some_task():
    pass
```

### local_runner.py

Script for starting the flow.

*Starting worker:*
```bash
$ python local_runner.py worker {flow_name}
```

*Starting decider:*
```bash
$ python local_runner.py decider {flow_name}
```

*Starting execution:*
```bash
$ python local_runner.py exec spotify_sos -c "{}"
```

### terminate.py

Script for terminating the flow.

```bash
$ python terminate.py {flow_name}
```

### utils.py

Modules for with util functions.