Added validation functionality to nybblecli