Added custom argument parser for CLI.