Skip to content

Commit

Permalink
Minor adjustment to docs (#120)
Browse files Browse the repository at this point in the history
  • Loading branch information
BobaFetters authored Nov 1, 2023
1 parent b044988 commit 98820a6
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion docs/source/migrations/1.7.mdx
Original file line number Diff line number Diff line change
Expand Up @@ -125,7 +125,7 @@ CustomCodegenScript.main()

`main.swift` file usage is not compatible with `AsyncParsableCommand`. You will need to:

1. Change the name of the file to something other than `main.swift`
1. Change the name of the `main.swift` file to the the name of your command, for example: `CustomCodegenScript.swift`
2. Add the `@main` annotation to the root command of your executable
3. Remove the call to your script's `main()` function.

Expand Down

0 comments on commit 98820a6

Please sign in to comment.