System Commandline Actions And Invocation

Use when the action itself is the hard part — returning Task<int> from an async action, choosing the process exit code from what the action returns, and splitting Parse(args) from Invoke/InvokeAsync so the ParseResult can be inspected in between. SetHandler and positional binding are gone. Wiring a plain action and reading values are core shapes; declaring inputs and rejecting bad ones are separate topics.

richlander Updated

File contents

richlander/dotnet-package-skills/tree/main/experiments/system-commandline-stable-2x/skills/system-commandline-actions-and-invocation commit 6d0b22f36c

Frequently asked questions

npx skillmds@latest add richlander/system-commandline-actions-and-invocation-2