File tree Expand file tree Collapse file tree 1 file changed +5
-5
lines changed
Expand file tree Collapse file tree 1 file changed +5
-5
lines changed Original file line number Diff line number Diff line change @@ -231,13 +231,13 @@ let main argv =
231231 Recursively deleting c:\_github\FSharp.SystemCommandLine\src\FSharp.SystemCommandLine
232232```
233233
234- ### Passing the InvocationContext
234+ ### Passing Context to Action
235235
236- You may need to pass the ` InvocationContext ` to your handler function for the following reasons:
237- * You need to get ` CancellationToken ` , ` IConsole ` or ` ParseResult `
238- * If you have more than 8 inputs, you will need to manually get the parsed values via the ` InvocationContext ` .
236+ You may need to pass the ` ActionContext ` to your handler function for the following reasons:
237+ * You need to access to the ` CancellationToken ` for an asynchronous action.
238+ * You need to manually parse values via the ` ParseResult ` . (This is necessary if you have more than 8 inputs.)
239239
240- You can pass the ` InvocationContext ` via the ` Input.Context() ` method.
240+ You can pass the ` ActionContext ` via the ` Input.Context() ` method.
241241
242242``` F#
243243module Program
You can’t perform that action at this time.
0 commit comments