mirror of
https://github.com/mas-cli/mas
synced 2025-03-06 23:57:21 +00:00
Remove unnecessary imports.
Resolve #709 Signed-off-by: Ross Goldberg <484615+rgoldberg@users.noreply.github.com>
This commit is contained in:
parent
a561259e0e
commit
b1adc95d2c
15 changed files with 4 additions and 17 deletions
Sources/mas
AppStore
Commands
Controllers
Formatters
Network
Tests/masTests/Models
|
@ -6,7 +6,6 @@
|
|||
// Copyright (c) 2015 Andrew Naylor. All rights reserved.
|
||||
//
|
||||
|
||||
import CommerceKit
|
||||
import PromiseKit
|
||||
import StoreFoundation
|
||||
|
||||
|
|
|
@ -8,7 +8,6 @@
|
|||
|
||||
import CommerceKit
|
||||
import PromiseKit
|
||||
import StoreFoundation
|
||||
|
||||
private let timeout = 30.0
|
||||
|
||||
|
|
|
@ -8,7 +8,6 @@
|
|||
|
||||
import CommerceKit
|
||||
import PromiseKit
|
||||
import StoreFoundation
|
||||
|
||||
private let downloadingPhase = 0 as Int64
|
||||
private let installingPhase = 1 as Int64
|
||||
|
|
|
@ -8,7 +8,6 @@
|
|||
|
||||
import CommerceKit
|
||||
import PromiseKit
|
||||
import StoreFoundation
|
||||
|
||||
extension SSPurchase {
|
||||
func perform(appID: AppID, purchasing: Bool) -> Promise<Void> {
|
||||
|
|
|
@ -7,7 +7,7 @@
|
|||
//
|
||||
|
||||
import ArgumentParser
|
||||
import CommerceKit
|
||||
import Foundation
|
||||
|
||||
private let unknown = "unknown"
|
||||
|
||||
|
|
|
@ -7,7 +7,6 @@
|
|||
//
|
||||
|
||||
import ArgumentParser
|
||||
import Foundation
|
||||
|
||||
extension MAS {
|
||||
/// Displays app details. Uses the iTunes Lookup API:
|
||||
|
|
|
@ -7,7 +7,7 @@
|
|||
//
|
||||
|
||||
import ArgumentParser
|
||||
import CommerceKit
|
||||
import Foundation
|
||||
|
||||
extension MAS {
|
||||
/// Installs previously purchased apps from the Mac App Store.
|
||||
|
|
|
@ -7,7 +7,7 @@
|
|||
//
|
||||
|
||||
import ArgumentParser
|
||||
import CommerceKit
|
||||
import Foundation
|
||||
|
||||
extension MAS {
|
||||
/// Command which installs the first search result.
|
||||
|
|
|
@ -7,7 +7,6 @@
|
|||
//
|
||||
|
||||
import ArgumentParser
|
||||
import Foundation
|
||||
import PromiseKit
|
||||
|
||||
extension MAS {
|
||||
|
|
|
@ -7,7 +7,7 @@
|
|||
//
|
||||
|
||||
import ArgumentParser
|
||||
import CommerceKit
|
||||
import Foundation
|
||||
|
||||
extension MAS {
|
||||
struct Purchase: ParsableCommand {
|
||||
|
|
|
@ -6,7 +6,6 @@
|
|||
// Copyright © 2018 mas-cli. All rights reserved.
|
||||
//
|
||||
|
||||
import Foundation
|
||||
import PromiseKit
|
||||
|
||||
/// Protocol for searching the MAS catalog.
|
||||
|
|
|
@ -6,8 +6,6 @@
|
|||
// Copyright © 2019 mas-cli. All rights reserved.
|
||||
//
|
||||
|
||||
import Foundation
|
||||
|
||||
/// Formats text output for the search command.
|
||||
enum AppListFormatter {
|
||||
static let idColumnMinWidth = 10
|
||||
|
|
|
@ -6,8 +6,6 @@
|
|||
// Copyright © 2019 mas-cli. All rights reserved.
|
||||
//
|
||||
|
||||
import Foundation
|
||||
|
||||
/// Formats text output for the search command.
|
||||
enum SearchResultFormatter {
|
||||
/// Formats search results as text.
|
||||
|
|
|
@ -7,7 +7,6 @@
|
|||
//
|
||||
|
||||
import AppKit
|
||||
import Foundation
|
||||
import PromiseKit
|
||||
|
||||
extension URL {
|
||||
|
|
|
@ -6,7 +6,6 @@
|
|||
// Copyright © 2018 mas-cli. All rights reserved.
|
||||
//
|
||||
|
||||
import Foundation
|
||||
import Nimble
|
||||
import Quick
|
||||
|
||||
|
|
Loading…
Add table
Reference in a new issue