<!--
{
  "availability" : [
    "macOS: 15.4.0 -"
  ],
  "documentType" : "symbol",
  "framework" : "FSKit",
  "identifier" : "/documentation/FSKit/FSTaskOptions",
  "metadataVersion" : "0.1.0",
  "role" : "Class",
  "symbol" : {
    "kind" : "Class",
    "modules" : [
      "FSKit"
    ],
    "preciseIdentifier" : "c:objc(cs)FSTaskOptions"
  },
  "title" : "FSTaskOptions"
}
-->

# FSTaskOptions

A class that passes command options to a task, optionally providing security-scoped URLs.

```
class FSTaskOptions
```

## Topics

### Retrieving task options

[`taskOptions`](/documentation/FSKit/FSTaskOptions/taskOptions)

An array of strings that represent command-line options for the task.

### Retrieving task option URLs

[`url(forOption:)`](/documentation/FSKit/FSTaskOptions/url(forOption:))

Retrieves a URL for a given option.



---

Copyright &copy; 2026 Apple Inc. All rights reserved. | [Terms of Use](https://www.apple.com/legal/internet-services/terms/site.html) | [Privacy Policy](https://www.apple.com/privacy/privacy-policy)