Type-safe command line argument handling