bltavares / pickpocket

Pocket CLI management tools
9 stars 2 forks source link

Extracts the batch logic into a common file #12

Closed bltavares closed 8 years ago

bltavares commented 8 years ago

All the batch commands have a similar structure:

Only the last part changes depending on the command. This commit extracts the logic into a BatchApp, which is responsible to produce the in-memory content and centralize the matching logic.