Bläddra i källkod

Update README.md

master
Dark 9 år sedan
förälder
incheckning
30f44ce74b
1 ändrade filer med 2 tillägg och 1 borttagningar
  1. +2
    -1
      README.md

+ 2
- 1
README.md Visa fil

@@ -46,7 +46,8 @@ It can be very useful when working with Javascript frameworks and/or similar sce
The code it's meant to be used as a dedicated CLI script (see **Usage** section below), but you can also execute it from a standard, web-hosted PHP page by populating the $argv[] array directly from code. If you need further help to implement it into a PHP page, contact me and I'll update the docs accordingly.


## General rules
## Conversion rules
The generated JSON object will adopt the following conventions:
* If a folder contains only files (without subfolders), they will be listed as items of a single array.
* If a folder contains one or more subfolders, each one will be listed as a key/value array.
* If a folder contains files and subfolders, both will be listed as a key/value array: each file will have an auto-generated numeric key starting from 0 (numbers already used by a subfolder's name will be skipped).


Laddar…
Avbryt
Spara