Skip to content

Commit

Permalink
Add image to README
Browse files Browse the repository at this point in the history
  • Loading branch information
giginet committed Sep 26, 2016
1 parent 5694e4e commit e4b4e8c
Show file tree
Hide file tree
Showing 3 changed files with 21 additions and 7 deletions.
Binary file added Documentation/Images/after.gif
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file added Documentation/Images/before.gif
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
28 changes: 21 additions & 7 deletions README.md
Expand Up @@ -4,8 +4,21 @@ Toybox made easy to manage Xcode Playgrounds.

## Before Toybox

![](Documentation/Images/before.gif)

## Using Toybox

![](Documentation/Images/after.gif)

## Installation

You can install Toybox via [Homebrew](http://brew.sh/index.html).

```sh
$ brew tap giginet/toybox
$ brew install giginet/toybox/toybox
```

## Features

### Create new Playground
Expand All @@ -20,17 +33,19 @@ $ toybox create SpriteKitDemo --platform macos
# Overwrite existing playground 'UIKitDemo'
$ toybox create UIKitDemo -f
# Create but don't open with Xcode
$ toybox create UIKitDemo --no-open
$ toybox create UIKitDemo -s
# Create Playground from standard input
$ echo 'print("Hello World")' | toybox create -i
```

Created Playgrounds will be saved under `$HOME/.toybox`

### List Playground
### List Playgrounds

```sh
# List all existing playgrounds
$ toybox list
# List all playgrounds for specific platform
# List all playgrounds of specific platform
$ toybox list --platform ios
```

Expand All @@ -51,11 +66,10 @@ $ toybox version
$ toybox root
```

## Installation
# Extra Usage

You can install Toybox via Homebrew.
Open existing playgrouds with [peco](https://github.com/peco/peco)

```sh
$ brew tap giginet/toybox
$ brew install giginet/toybox/toybox
toybox list | peco | sed -E 's/\(.*\)$//g' | xargs toybox open
```

0 comments on commit e4b4e8c

Please sign in to comment.