Browse Source

Update Readme.md

master
parent
commit
3bbba8cf7b
1 changed files with 6 additions and 6 deletions
  1. +6
    -6
      README.md

+ 6
- 6
README.md View File

@@ -74,7 +74,12 @@ JSON_OPTIONS is a bitmask consisting of:
The behaviour of these constants is described on the JSON constants page:
http://php.net/manual/en/json.constants.php

#### Help Info
#### Example
```
> php dir2json ./images out.json JSON_PRETTY_PRINT
```

## CLI Help Info
```
$ ./dir2json.php -h
------------------------------------------------------
@@ -126,11 +131,6 @@ SORT_FLAGS defaults to SORT_LOCALE_STRING, always case insensitive:
------------------------------------------------------
```

#### Example
```
> php dir2json ./images out.json JSON_PRETTY_PRINT
```

## Useful Links
* [dir2json project page on Ryadel.com](http://www.ryadel.com/dir2json-a-php-cli-script-to-output-the-contents-of-a-folder-tree-into-a-json-object/)
* [dir2json article, explaining how it works](http://www.ryadel.com/en/portfolio/dir2json-en/)

Loading…
Cancel
Save