This PR contains the work done to create the root folder of a new project when executing the _colibri_ executable. In addition, some other work has been done: * added the `ArgumentParser` package dependency to the package; * implemented the `FileService` service in the _library_ target; * implemented the `CreateRootFolderTask` task in the _library_ target; * removed some unnecessary comments and boilerplate code; Reviewed-on: #2 Co-authored-by: Javier Cicchelli <javier@rock-n-code.com> Co-committed-by: Javier Cicchelli <javier@rock-n-code.com>
15 lines
286 B
Swift
15 lines
286 B
Swift
import ArgumentParser
|
|
import ColibriLibrary
|
|
|
|
@main
|
|
struct Colibri: AsyncParsableCommand {
|
|
|
|
// MARK: Properties
|
|
|
|
static let configuration = CommandConfiguration(
|
|
abstract: "The utility to manage your Hummingbird apps",
|
|
subcommands: [Create.self]
|
|
)
|
|
|
|
}
|