User will ask for value of registered command say port then GetValue function should internally search for value corresponding to --port.