summaryrefslogtreecommitdiff
path: root/morphlib/cmdline_parse_utils.py
Commit message (Collapse)AuthorAgeFilesLines
* morphlib: Add utility module for parsing argv into lists of systemsRichard Maw2015-05-111-0/+141
The `morph anchor`, `morph build-morphology` and a potential `morph diff` command would all benefit from having a unified way to parse the argv for the systems it must operate on, especially in the case of the potential `morph diff`, which needs to be able to handle being given two sets of systems. `morph anchor` may make use of it now by passing the list of systems to the Source resolver, but `morph build-morphology` would have to iterate over the systems and graph each independently. Change-Id: I91ab4764ffca3aa16f144f89f68f37cc21b9f643