refactor: #3 moved test -> example
fix #3 support param `--input-dir`, `--output-dir`
document: update