add paginated output helper, refactor how sub command help works