Cleanup a few things
This commit is contained in:
parent
fd25540633
commit
db9127e891
@ -5,7 +5,6 @@ services:
|
|||||||
command: sleep infinity
|
command: sleep infinity
|
||||||
depends_on: [browser]
|
depends_on: [browser]
|
||||||
volumes: [..:/workspace:cached, build-tmp:/workspace/.build/]
|
volumes: [..:/workspace:cached, build-tmp:/workspace/.build/]
|
||||||
env_file: ../.env
|
|
||||||
browser:
|
browser:
|
||||||
image: selenium/standalone-chromium:latest
|
image: selenium/standalone-chromium:latest
|
||||||
shm_size: 2gb
|
shm_size: 2gb
|
||||||
|
|||||||
@ -6,7 +6,8 @@ struct CLI: AsyncParsableCommand {
|
|||||||
static let configuration: CommandConfiguration = .init(
|
static let configuration: CommandConfiguration = .init(
|
||||||
commandName: "putty",
|
commandName: "putty",
|
||||||
abstract: "A utility for getting comic data from GoComics.com.",
|
abstract: "A utility for getting comic data from GoComics.com.",
|
||||||
subcommands: [Scrape.self])
|
subcommands: [Scrape.self],
|
||||||
|
)
|
||||||
}
|
}
|
||||||
|
|
||||||
struct Scrape: AsyncParsableCommand {
|
struct Scrape: AsyncParsableCommand {
|
||||||
|
|||||||
@ -113,10 +113,6 @@ public final class PageFetcher {
|
|||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
// MARK: - Errors
|
|
||||||
|
|
||||||
// MARK: - Usage Example
|
|
||||||
|
|
||||||
public extension PageFetcher {
|
public extension PageFetcher {
|
||||||
/// Convenience method to fetch GoComics A-Z page
|
/// Convenience method to fetch GoComics A-Z page
|
||||||
func fetchAToZ() async throws -> String {
|
func fetchAToZ() async throws -> String {
|
||||||
|
|||||||
Loading…
x
Reference in New Issue
Block a user