join argp and command parse code