get directory from cli args