Add validation for subcommand