Skip to content

Commit

Permalink
Add arguments-based command usage
Browse files Browse the repository at this point in the history
  • Loading branch information
LitoMore committed Jun 9, 2024
1 parent f45babf commit 6708c2f
Showing 1 changed file with 3 additions and 0 deletions.
3 changes: 3 additions & 0 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -60,6 +60,9 @@ The `callbackLaunchOptions` is used for running the callback `launchCommand()` t

Please note passing parameters through [`Arguments`](https://developers.raycast.com/information/lifecycle/arguments) is not recommneded since it supports string only.

But a command with arguments is still useful if you want to reuse your existing arguments-based commands as the cross-extension entrance.
For exmaple, the [Say](https://raycast.com/litomore/say) extension is using the `typeToSay` arguments-based command for receiving cross-extension parameters.

#### Example

```typescript
Expand Down

0 comments on commit 6708c2f

Please sign in to comment.