symfony-cmf / resource-bundle

Resource Location for CMF documents based on Puli
https://cmf.symfony.com
5 stars 7 forks source link

Resource debug / describe command. #30

Open dantleech opened 8 years ago

dantleech commented 8 years ago

When #29 is merged, then I think it would make sense to add a command for debugging /describing resources, e.g.

$ ./bin/console debug:cmf-resource /path/to/resource --repository=default
name: Foobar
type: phpcr
payload_type: nt:foobar
description:
     link_edit_html: /edit/foobar/1234
     link_list_html: /foobars