Implemented Wrangler._open_in_each_package().

The method implements a reusable pattern for many mapped commands.