cli: add services register
and deregister
#4732
Merged
services register
and deregister
#4732