playgroundbooks / playgroundbook

Tool for Swift Playground books
https://ashfurrow.com/blog/swift-playground-books/
MIT License
259 stars 17 forks source link

Create a `playgroundbook create` command #37

Open orta opened 8 years ago

orta commented 8 years ago

Using the structure from

We can use a template like https://github.com/dionlarson/MSPlaygroundBookStarter t make it easier for people to get started, that first step is always the most difficult.

Can include some useful Rake commands to create, publish, and ship to GitHub pages too?

orta commented 8 years ago

Note: this is a second related repo, would mean this project should moe to an org Note2: this is the fourth command, ideally this should move to CLAide to provide a better abstraction layer for commands

ryanoconnor7 commented 7 years ago

I think this issue is resolved.

People can download a sample starter playground book bundle: https://github.com/playgroundbooks/example

and then use command playgroundbook render test.yaml when they make changes, and it wraps it up in the .playgroundbook file.

Only thing we might want to consider is a command that renders & pushes at the same time.

ashfurrow commented 7 years ago

Yeah, I think this is basically two issues: a) move to CLAide, and b) support a direct markdown -> book flow (instead of the current multi-step process). I don't have time to work on this currently, but I definitely felt the need for b).