Skip to content

Commit

Permalink
feat: add offlineFallback option
Browse files Browse the repository at this point in the history
close #18
  • Loading branch information
imcuttle committed Oct 22, 2018
1 parent a9db6ed commit b60ae55
Show file tree
Hide file tree
Showing 16 changed files with 459 additions and 54 deletions.
16 changes: 13 additions & 3 deletions _site/doc/usage/options.md
Original file line number Diff line number Diff line change
Expand Up @@ -2,6 +2,16 @@
title: Options
---

### offlineFallback

- Type: `boolean`

Fallback to local cache assets when you are offline.

| default | cli |
| ------- | -------------------- |
| `true` | `--offline-fallback` |

### updateNotify

- Type: `boolean`
Expand Down Expand Up @@ -59,9 +69,9 @@ Enable debug mode for verbose log (Don't works when silent is true).

Appoints to the command when installing package form npmjs.com.

| default | cli |
| ------- | --------------------------- |
| `npm` | `--pull.npmClient=<string>` |
| default | cli |
| ------- | ---------------------------- |
| `npm` | `--pull.npm-client=<string>` |

### pull.git

Expand Down
16 changes: 13 additions & 3 deletions _site/doc/usage/options_zh.md
Original file line number Diff line number Diff line change
Expand Up @@ -2,6 +2,16 @@
title: Options
---

### offlineFallback

- Type: `boolean`

Fallback to local cache assets when you are offline.

| default | cli |
| ------- | -------------------- |
| `true` | `--offline-fallback` |

### updateNotify

- Type: `boolean`
Expand Down Expand Up @@ -59,9 +69,9 @@ Enable debug mode for verbose log (Don't works when silent is true).

Appoints to the command when installing package form npmjs.com.

| default | cli |
| ------- | --------------------------- |
| `npm` | `--pull.npmClient=<string>` |
| default | cli |
| ------- | ---------------------------- |
| `npm` | `--pull.npm-client=<string>` |

### pull.git

Expand Down
Loading

0 comments on commit b60ae55

Please sign in to comment.