add `pages` command