Gustavo Arnosti Neves 6 лет назад
Родитель
Сommit
3bbba8cf7b
1 измененных файлов: 6 добавлений и 6 удалений
  1. +6
    -6
      README.md

+ 6
- 6
README.md Просмотреть файл

@@ -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/)

Загрузка…
Отмена
Сохранить