Skip to content
This repository has been archived by the owner on Aug 15, 2023. It is now read-only.

Print page tree on CLI #5

Open
arvidj opened this issue Mar 22, 2013 · 4 comments
Open

Print page tree on CLI #5

arvidj opened this issue Mar 22, 2013 · 4 comments
Labels
Milestone

Comments

@arvidj
Copy link

arvidj commented Mar 22, 2013

Print the page tree and partial trees (on CLI). What would the syntax look like for this command?

@madsbrunn
Copy link

What would you like to see as a result?

Something like this:

Root
├─Subpage 1
│ ├─Subpage 1.1
│ ├─Subpage 1.2
│ └─Subpage 1.3
└─Subpage 2

?

@madsbrunn
Copy link

./cli_dispatch.phpsh extbase siteapi:printpagetree

@etobi
Copy link
Member

etobi commented Jul 12, 2013

./cli_dispatch.phpsh extbase siteapi:printpagetree 123

(to see a subtree starting from page uid = 123)

@arvidj
Copy link
Author

arvidj commented Jul 12, 2013

Hi, I've already written the code for a command like this in my extension gc_dev. Unfortunately I don't have the time to push this to ext-coreapi, but you could use it as inspiration: https://github.com/arvidj/gc_dev

@Konafets Konafets added this to the Backlog milestone Jun 29, 2014
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
Projects
None yet
Development

No branches or pull requests

4 participants