Swiftpack.co - Package - thecb4/Folders

Folders

A rough cut at generating folder structure from a YAML file. This is meant to be a sister tool to XcodeGen as that tool does not crete folder structures, but uses existing directories.

Spec File

---
folder:
  name: "Project"
  folderItems:
    - folder:
        name: "Framework"
        folderItems:
          - folder:
              name: "Sources"
              folderItems:
                - folder:
                    name: "Core"
                    folderItems:
          - folder:
              name: "Tests"
              folderItems:
                - folder:
                    name: "Core"

Usage

$ mint thebc4/folders --spec folders.yml --parent ./
  • spec: yaml specification for the folder structure
  • parent: parent folder which Folders will write to

This will create a folder structure

└── Project
    └── Framework
        ├── Sources
        └── Tests

Dependency

.package(url: "https://github.com/thecb4/Folders.git", from: "0.3.0"),

Github

link
Stars: 0
Help us keep the lights on

Used By

Total: 0