shadow: Add cli parser interface and adjust LunrCliParser for it.