         let fileName = options.fileName
         switch handler.create(fileName, for: options.platform, force: options.force) {
         case let .success(playground):
+            
+            if options.enableStandardInput {
+                let data = FileHandle.standardInput.readDataToEndOfFile()
+                if data.count > 0 {
+                    var mutablePlayground = playground
+                    mutablePlayground.contents = data
+                }
+            }
+            
             if !options.noOpen {
                 _ = handler.open(playground.name)
             }

            <*> m <| Argument(defaultValue: [], usage: "Playground file name to create")
            <*> m <| Switch(flag: "f", key: "force", usage: "Whether to overwrite existing playground")
            <*> m <| Switch(flag: "s", key: "no-open", usage: "Whether to open new playground")
    }
}


    let platform: Platform
    let force: Bool
    let noOpen: Bool
    let enableStandardInput: Bool
    
    static func create(_ platform: Platform) -> ([String]) -> (Bool) -> (Bool) -> (Bool) -> CreateOptions {
        return { fileNames in
            { force in
                { noOpen in
                    { standardInput in
                        self.init(fileName: fileNames.first,
                                  platform: platform,
                                  force: force,
                                  noOpen: noOpen,
                                  enableStandardInput: standardInput)
                    }
                }
            }
        }
