Move argument parser construction to reusable function