drafteame/list-folders-action
List sub-folders of all the given paths and return different formats of the founded sub-folders
View on GitHubTrust Signals
- Scorecard Score
- not yet scored
- Maintenance Recency
- Stale
- License
- None
Inputs
| name | description | required | default |
|---|---|---|---|
| paths | List of paths to search for sub-folders | yes | — |
| separator | Separator of the paths list (default is \n) | no | — |
| omit | List of subfolder names to be omited | no | — |
| recursive | Whether to search for sub-folders recursively (default is false) | no | — |
Outputs
| name | description |
|---|---|
| total | Number of total sub-folders |
| folders | JSON array with all sub-folders found including base path |
| folders_no_base_path | JSON array with all sub-folders found without base path |
| folders_by_path | JSON object in what each key is the base path and contains an array with his sub-folders |