This PR contains the work done to implement the `Update` subcommand that clean the *Hummingbird* project. Reviewed-on: #8 Co-authored-by: Javier Cicchelli <javier@rock-n-code.com> Co-committed-by: Javier Cicchelli <javier@rock-n-code.com>
20 lines
404 B
Swift
20 lines
404 B
Swift
import ArgumentParser
|
|
import ColibriLibrary
|
|
|
|
extension Colibri.Clean {
|
|
struct Options: ParsableArguments, Locationable {
|
|
|
|
// MARK: Properties
|
|
|
|
@Flag(name: .shortAndLong)
|
|
var reset: Bool = false
|
|
|
|
@Flag(name: .shortAndLong)
|
|
var purgeCache: Bool = false
|
|
|
|
@Option(name: .shortAndLong)
|
|
var location: String?
|
|
|
|
}
|
|
}
|