Add check subcommand.