Page creation with the command line?

Topics: General
Mar 27, 2011 at 8:51 PM

Bertrand suggested that I use the command line to batch the page creation process.  However, I haven't been able to figure out how to create a page with the command line.  Has anyone done this?  Any help is appreciated.  Thanks!

Coordinator
Mar 29, 2011 at 1:39 AM

In 1.1 you can do:

page create /Slug:"mypage" /Title:"My Orchard page" /Path:"mypage" /Publish:true /Text:"This is the text of the page."
Mar 29, 2011 at 3:14 AM

Thanks, Bertrand!  I was using "create page", which obviously didn't work.  I really appreciate the help.

Adam