Handle bundle for Stringium
All checks were successful
gitea-openium/resgen.swift/pipeline/head This commit looks good
All checks were successful
gitea-openium/resgen.swift/pipeline/head This commit looks good
This commit is contained in:
26
Sources/ToolCore/AssetBundle.swift
Normal file
26
Sources/ToolCore/AssetBundle.swift
Normal file
@@ -0,0 +1,26 @@
|
||||
//
|
||||
// AssetBundle.swift
|
||||
// ResgenSwift
|
||||
//
|
||||
// Created by Thibaut Schmitt on 21/07/2025.
|
||||
//
|
||||
|
||||
import ArgumentParser
|
||||
|
||||
package enum AssetBundle: String, CustomStringConvertible, ExpressibleByArgument {
|
||||
|
||||
case main
|
||||
case module
|
||||
|
||||
// MARK: - CustomStringConvertible
|
||||
|
||||
package var description: String {
|
||||
switch self {
|
||||
case .main:
|
||||
"main"
|
||||
|
||||
case .module:
|
||||
"module"
|
||||
}
|
||||
}
|
||||
}
|
Reference in New Issue
Block a user