Doc: easier commands registration

[ci skip]