Modify CLI to recursively analyse directories