             consumer.productionContainer = config.productionContainer(with: fetch)
         }
         
-        command.execute(with: arguments)
+        var remaining = arguments
+        remaining.removeFirst()
+        let toRemove = ["--production", "--development"]
+        for remove in toRemove {
+            if let index = remaining.index(of: remove) {
+                remaining.remove(at: index)
+            }
+        }
+        
+        Logging.log("Command arguments: \(remaining)")
+        command.execute(with: remaining)
     }
     
     private func containerFromArguments(config: Configuration, fetch: NetworkFetch) -> CloudContainer? {

    
    public func run() {
        Logging.log("Run \(String(describing: C.self))")
        let command = C()
        
        let fetch = Fetch()

import Foundation

public extension URLSession {
    public func synchronousDataWithRequest(request: URLRequest, completionHandler: (Data?, URLResponse?, Error?) -> Void) {
        var data: Data?
        var response: URLResponse?
        var error: Error?
