Skip to content

Commit d424bca

Browse files
Make it clear that Foundation has to be imported (apple#246)
It's not from the get-go clear for beginners that Foundation has to be imported as well. Otherwise, you would end up with a bunch of compilation errors.
1 parent 3cc9044 commit d424bca

File tree

1 file changed

+3
-0
lines changed

1 file changed

+3
-0
lines changed

Documentation/01 Getting Started.md

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -223,6 +223,9 @@ OPTIONS:
223223
As promised, here's the complete `count` command, for your experimentation:
224224

225225
```swift
226+
import ArgumentParser
227+
import Foundation
228+
226229
struct Count: ParsableCommand {
227230
static let configuration = CommandConfiguration(abstract: "Word counter.")
228231

0 commit comments

Comments
 (0)