rkt: have commands register themselves