mirror of
https://github.com/mas-cli/mas
synced 2024-11-22 03:23:08 +00:00
🛃 Add missing imports
This commit is contained in:
parent
2471c888b3
commit
45decf1a84
13 changed files with 36 additions and 0 deletions
|
@ -6,6 +6,9 @@
|
|||
// Copyright (c) 2015 Andrew Naylor. All rights reserved.
|
||||
//
|
||||
|
||||
import Commandant
|
||||
import Result
|
||||
|
||||
struct AccountCommand: CommandProtocol {
|
||||
typealias Options = NoOptions<MASError>
|
||||
let verb = "account"
|
||||
|
|
|
@ -6,6 +6,8 @@
|
|||
// Copyright © 2016 Andrew Naylor. All rights reserved.
|
||||
//
|
||||
|
||||
import Commandant
|
||||
import Result
|
||||
import Foundation
|
||||
|
||||
struct InfoCommand: CommandProtocol {
|
||||
|
|
|
@ -6,6 +6,9 @@
|
|||
// Copyright (c) 2015 Andrew Naylor. All rights reserved.
|
||||
//
|
||||
|
||||
import Commandant
|
||||
import Result
|
||||
|
||||
struct InstallCommand: CommandProtocol {
|
||||
typealias Options = InstallOptions
|
||||
let verb = "install"
|
||||
|
|
|
@ -6,6 +6,9 @@
|
|||
// Copyright (c) 2015 Andrew Naylor. All rights reserved.
|
||||
//
|
||||
|
||||
import Commandant
|
||||
import Result
|
||||
|
||||
struct ListCommand: CommandProtocol {
|
||||
typealias Options = NoOptions<MASError>
|
||||
let verb = "list"
|
||||
|
|
|
@ -6,6 +6,9 @@
|
|||
// Copyright © 2016 Andrew Naylor. All rights reserved.
|
||||
//
|
||||
|
||||
import Commandant
|
||||
import Result
|
||||
|
||||
struct LuckyCommand: CommandProtocol {
|
||||
typealias Options = LuckyOptions
|
||||
let verb = "lucky"
|
||||
|
|
|
@ -6,6 +6,9 @@
|
|||
// Copyright (c) 2015 Andrew Naylor. All rights reserved.
|
||||
//
|
||||
|
||||
import Commandant
|
||||
import Result
|
||||
|
||||
struct OutdatedCommand: CommandProtocol {
|
||||
typealias Options = NoOptions<MASError>
|
||||
let verb = "outdated"
|
||||
|
|
|
@ -6,6 +6,9 @@
|
|||
// Copyright © 2016 Andrew Naylor. All rights reserved.
|
||||
//
|
||||
|
||||
import Commandant
|
||||
import Result
|
||||
|
||||
struct ResetCommand: CommandProtocol {
|
||||
typealias Options = ResetOptions
|
||||
let verb = "reset"
|
||||
|
|
|
@ -6,6 +6,9 @@
|
|||
// Copyright © 2016 Andrew Naylor. All rights reserved.
|
||||
//
|
||||
|
||||
import Commandant
|
||||
import Result
|
||||
|
||||
struct ResultKeys {
|
||||
static let ResultCount = "resultCount"
|
||||
static let Results = "results"
|
||||
|
|
|
@ -6,6 +6,9 @@
|
|||
// Copyright © 2016 Andrew Naylor. All rights reserved.
|
||||
//
|
||||
|
||||
import Commandant
|
||||
import Result
|
||||
|
||||
struct SignInCommand: CommandProtocol {
|
||||
typealias Options = SignInOptions
|
||||
let verb = "signin"
|
||||
|
|
|
@ -6,6 +6,9 @@
|
|||
// Copyright © 2016 Andrew Naylor. All rights reserved.
|
||||
//
|
||||
|
||||
import Commandant
|
||||
import Result
|
||||
|
||||
struct SignOutCommand: CommandProtocol {
|
||||
typealias Options = NoOptions<MASError>
|
||||
let verb = "signout"
|
||||
|
|
|
@ -6,6 +6,9 @@
|
|||
// Copyright © 2015 Andrew Naylor. All rights reserved.
|
||||
//
|
||||
|
||||
import Commandant
|
||||
import Result
|
||||
|
||||
struct UpgradeCommand: CommandProtocol {
|
||||
typealias Options = UpgradeOptions
|
||||
let verb = "upgrade"
|
||||
|
|
|
@ -6,6 +6,9 @@
|
|||
// Copyright © 2015 Andrew Naylor. All rights reserved.
|
||||
//
|
||||
|
||||
import Commandant
|
||||
import Result
|
||||
|
||||
struct VersionCommand: CommandProtocol {
|
||||
typealias Options = NoOptions<MASError>
|
||||
let verb = "version"
|
||||
|
|
|
@ -6,6 +6,7 @@
|
|||
// Copyright © 2015 Andrew Naylor. All rights reserved.
|
||||
//
|
||||
|
||||
import Commandant
|
||||
import Foundation
|
||||
|
||||
public struct StderrOutputStream: TextOutputStream {
|
||||
|
|
Loading…
Reference in a new issue