fiddledl/README.md

20 lines
1.1 KiB
Markdown
Raw Permalink Normal View History

2020-04-24 13:14:31 -04:00
# fiddledl
2020-04-24 13:28:17 -04:00
A script for downloading fiddles from jsfiddle.net
## Usage
```
$ fiddledl -h
$ fiddledl -n NAME -i FIDDLE_ID -l LAST_REVISION [-f FIRST_REVISION]
```
2020-04-24 13:29:40 -04:00
| Option | Default | Required | Documentation |
|-----------------------|---------------|---------------------------------------------------------------------------------------------------------------|---------------------------------------------------------------------------------------|
| -h | `N/A` | No | Show usage. |
| -n NAME | `""` | No (if not specified, only `FIDDLE_ID` will be used) | A friendly name to append to the result directory to assist in locating later. |
| -i FIDDLE_ID | `""` | Yes | The id of the fiddle you want to download. |
| -l LAST_REVISION | `null` | No (if not specified, `FIRST_REVISION` will be ignored and only the "base" revision will be downloaded. | The last revision of the fiddle you would like to download. |
| -f FIRST_REVISION | `1` | No | The first revision of the fiddle you would like to download. |
2020-04-24 13:28:17 -04:00