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

Commit

Permalink
(#3) added some docs for cream
Browse files Browse the repository at this point in the history
Signed-off-by: Dominik Wilkowski <Hi@Dominik-Wilkowski.com>
  • Loading branch information
dominikwilkowski committed Feb 9, 2017
1 parent fe7adfc commit 1ca031a
Show file tree
Hide file tree
Showing 2 changed files with 54 additions and 22 deletions.
3 changes: 2 additions & 1 deletion .gitignore
Original file line number Diff line number Diff line change
Expand Up @@ -8,4 +8,5 @@ node_modules
.idea
validation-report.json
validation-status.json
npm-debug.log
npm-debug.log
yarn-error.log
73 changes: 52 additions & 21 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -47,10 +47,10 @@ breaking changes might occur and what an easy way out might be.

## Batter

### command
**`batter`**
### batter
`batter`
Type: `[command]`
Option: `<path>` _(optional)_
Option: `<path>` _(optional) overwrite where to look for the `node_module` folder_
Default value: `path to one level below cwd`

To make sure all peerDependencies are resolved without conflicts this tool goes through your `node_modules` folder and reads each <sup>_(Only the ones
Expand All @@ -71,10 +71,9 @@ Batter will also run [Syrup](#syrup) after a successful run.
You can change that behavior by adding `"uikit": { "auto-syrup": false }` into your package.json.


### command
**`-d`, `--dry`**
Type: `[command]`
Option: `<path>` _(optional)_
### dry
`-d`, `--dry`
Type: `<flag>`
Default value: `no flag`

Run batter without syrup.
Expand All @@ -84,10 +83,9 @@ pancake batter --dry
```


### command
**`-v`, `--verbose`**
Type: `[command]`
Option: `<path>` _(optional)_
### verbose
`-v`, `--verbose`
Type: `<flag>`
Default value: `no flag`

Run pancake in verbose silly mode.
Expand All @@ -105,10 +103,10 @@ pancake batter --verbose

## Syrup

### command
**`syrup`**
### syrup
`syrup`
Type: `[command]`
Option: `<path>` _(optional)_
Option: `<path>` _(optional) overwrite where to look for the `node_module` folder_
Default value: `path to one level below cwd`

Syrup compiles your pancake assets and writes them to disk. It comes with sane defaults that you can overwrite by adding the `pancake` object into your
Expand Down Expand Up @@ -153,10 +151,9 @@ Below are all possible settings with default values.
}
```

### command
**`-s`, `--save`**
Type: `[flag]`
Option: `<path>` _(optional)_
### save
`-s`, `--save`
Type: `<flag>`
Default value: `no flag`

The command will merge your local settings, complete them with the defaults and save them into your `package.json`
Expand All @@ -166,9 +163,9 @@ This will sort-of shrink-wrap all settings in so you are completely reproducible
pancake syrup --save
```

**`-v`, `--verbose`**
Type: `[command]`
Option: `<path>` _(optional)_
### verbose
`-v`, `--verbose`
Type: `<flag>`
Default value: `no flag`

Run pancake in verbose silly mode.
Expand All @@ -186,6 +183,40 @@ pancake syrup --verbose

## Cream

### cream
`cream`
Type: `[command]`
Option: `<path>` _(optional) overwrite where to look for the `node_module` folder_
Default value: `path to one level below cwd`
Option: `--json <path>` _(optional) overwrite where to look for the `pancake.json`_
Default value: `https://raw.githubusercontent.com/govau/uikit/master/uikit.json`


Cream will analyze your currently installed pancake modules and show you in a user friendly interface what you can easily update and what update will entail
breaking changes.

```shell
pancake cream
```

To overwrite the hardcoded json URL run cream with the `json` flag:

```shell
pancake cream --json https://you.domain/to/json/file.json
```


### verbose
`-v`, `--verbose`
Type: `<flag>`
Default value: `no flag`

Run pancake in verbose silly mode.

```shell
pancake syrup --verbose
```


**[⬆ back to top](#content)**

Expand Down

0 comments on commit 1ca031a

Please sign in to comment.