main: start implementing item glob feature.
TODO: note that item wildcard expansion feature needs to be taken care of.