---
title: "init(_:)"
framework: swift-package-manager
role: symbol
role_heading: Initializer
path: "swift-package-manager/documentation/packageplugin/argumentextractor/init(_:)"
---

# init(_:)

Creates an argument extractor with a list of strings from which to extract flags and options.

## Declaration

```swift
init(_ arguments: [String])
```

## Discussion

Discussion If the list contains --, any arguments that follow it are considered positional arguments.
