introduce get_root_command() getter