├── .gitignore ├── .swiftpm └── xcode │ └── package.xcworkspace │ └── contents.xcworkspacedata ├── .xcode-version ├── Fixtures ├── Material Palette.ase ├── clg.clr ├── color.csv ├── sample.json ├── sample2.json └── sample3.json ├── Makefile ├── Package.resolved ├── Package.swift ├── README.md ├── Sources ├── Core │ ├── Extensions │ │ ├── CaseIterable+Extensions.swift │ │ ├── NSColorList+Extensions.swift │ │ ├── Path+Extensions.swift │ │ └── String+Extensions.swift │ ├── Models │ │ ├── CodeGenerator.swift │ │ ├── Color.swift │ │ ├── Error.swift │ │ └── FileType.swift │ └── Parser │ │ ├── CLRParser.swift │ │ └── CSVParser.swift └── clg │ └── Command │ ├── RootCommand.swift │ └── Subcommands │ ├── CLRCommand.swift │ ├── CodeCommand.swift │ └── JSONCommand.swift └── Tests ├── CoreTests ├── CSVParserTest.swift ├── ColorTests.swift ├── FileTypeTests.swift ├── Fixture.swift └── StringTests.swift └── clgTests └── clgTests.swift /.gitignore: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/griffin-stewie/clg/HEAD/.gitignore -------------------------------------------------------------------------------- /.swiftpm/xcode/package.xcworkspace/contents.xcworkspacedata: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/griffin-stewie/clg/HEAD/.swiftpm/xcode/package.xcworkspace/contents.xcworkspacedata -------------------------------------------------------------------------------- /.xcode-version: -------------------------------------------------------------------------------- 1 | 13.1.0 2 | -------------------------------------------------------------------------------- /Fixtures/Material Palette.ase: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/griffin-stewie/clg/HEAD/Fixtures/Material Palette.ase -------------------------------------------------------------------------------- /Fixtures/clg.clr: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/griffin-stewie/clg/HEAD/Fixtures/clg.clr -------------------------------------------------------------------------------- /Fixtures/color.csv: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/griffin-stewie/clg/HEAD/Fixtures/color.csv -------------------------------------------------------------------------------- /Fixtures/sample.json: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/griffin-stewie/clg/HEAD/Fixtures/sample.json -------------------------------------------------------------------------------- /Fixtures/sample2.json: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/griffin-stewie/clg/HEAD/Fixtures/sample2.json -------------------------------------------------------------------------------- /Fixtures/sample3.json: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/griffin-stewie/clg/HEAD/Fixtures/sample3.json -------------------------------------------------------------------------------- /Makefile: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/griffin-stewie/clg/HEAD/Makefile -------------------------------------------------------------------------------- /Package.resolved: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/griffin-stewie/clg/HEAD/Package.resolved -------------------------------------------------------------------------------- /Package.swift: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/griffin-stewie/clg/HEAD/Package.swift -------------------------------------------------------------------------------- /README.md: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/griffin-stewie/clg/HEAD/README.md -------------------------------------------------------------------------------- /Sources/Core/Extensions/CaseIterable+Extensions.swift: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/griffin-stewie/clg/HEAD/Sources/Core/Extensions/CaseIterable+Extensions.swift -------------------------------------------------------------------------------- /Sources/Core/Extensions/NSColorList+Extensions.swift: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/griffin-stewie/clg/HEAD/Sources/Core/Extensions/NSColorList+Extensions.swift -------------------------------------------------------------------------------- /Sources/Core/Extensions/Path+Extensions.swift: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/griffin-stewie/clg/HEAD/Sources/Core/Extensions/Path+Extensions.swift -------------------------------------------------------------------------------- /Sources/Core/Extensions/String+Extensions.swift: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/griffin-stewie/clg/HEAD/Sources/Core/Extensions/String+Extensions.swift -------------------------------------------------------------------------------- /Sources/Core/Models/CodeGenerator.swift: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/griffin-stewie/clg/HEAD/Sources/Core/Models/CodeGenerator.swift -------------------------------------------------------------------------------- /Sources/Core/Models/Color.swift: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/griffin-stewie/clg/HEAD/Sources/Core/Models/Color.swift -------------------------------------------------------------------------------- /Sources/Core/Models/Error.swift: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/griffin-stewie/clg/HEAD/Sources/Core/Models/Error.swift -------------------------------------------------------------------------------- /Sources/Core/Models/FileType.swift: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/griffin-stewie/clg/HEAD/Sources/Core/Models/FileType.swift -------------------------------------------------------------------------------- /Sources/Core/Parser/CLRParser.swift: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/griffin-stewie/clg/HEAD/Sources/Core/Parser/CLRParser.swift -------------------------------------------------------------------------------- /Sources/Core/Parser/CSVParser.swift: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/griffin-stewie/clg/HEAD/Sources/Core/Parser/CSVParser.swift -------------------------------------------------------------------------------- /Sources/clg/Command/RootCommand.swift: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/griffin-stewie/clg/HEAD/Sources/clg/Command/RootCommand.swift -------------------------------------------------------------------------------- /Sources/clg/Command/Subcommands/CLRCommand.swift: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/griffin-stewie/clg/HEAD/Sources/clg/Command/Subcommands/CLRCommand.swift -------------------------------------------------------------------------------- /Sources/clg/Command/Subcommands/CodeCommand.swift: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/griffin-stewie/clg/HEAD/Sources/clg/Command/Subcommands/CodeCommand.swift -------------------------------------------------------------------------------- /Sources/clg/Command/Subcommands/JSONCommand.swift: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/griffin-stewie/clg/HEAD/Sources/clg/Command/Subcommands/JSONCommand.swift -------------------------------------------------------------------------------- /Tests/CoreTests/CSVParserTest.swift: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/griffin-stewie/clg/HEAD/Tests/CoreTests/CSVParserTest.swift -------------------------------------------------------------------------------- /Tests/CoreTests/ColorTests.swift: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/griffin-stewie/clg/HEAD/Tests/CoreTests/ColorTests.swift -------------------------------------------------------------------------------- /Tests/CoreTests/FileTypeTests.swift: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/griffin-stewie/clg/HEAD/Tests/CoreTests/FileTypeTests.swift -------------------------------------------------------------------------------- /Tests/CoreTests/Fixture.swift: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/griffin-stewie/clg/HEAD/Tests/CoreTests/Fixture.swift -------------------------------------------------------------------------------- /Tests/CoreTests/StringTests.swift: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/griffin-stewie/clg/HEAD/Tests/CoreTests/StringTests.swift -------------------------------------------------------------------------------- /Tests/clgTests/clgTests.swift: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/griffin-stewie/clg/HEAD/Tests/clgTests/clgTests.swift --------------------------------------------------------------------------------