-
Notifications
You must be signed in to change notification settings - Fork 343
Open
Labels
bugSomething isn't workingSomething isn't working
Description
When using an AsyncParsableCommand with @main, the command-line-tool exits without running the run() async
function and prints the help log.
Note: run()
without async
runs the function.
ArgumentParser version: 1.2.0
Swift version: swift-driver version: 1.45.2 Apple Swift version 5.6 (swiftlang-5.6.0.323.62 clang-1316.0.20.8)
MacOS 12.6
Checklist
- If possible, I've reproduced the issue using the
main
branch of this package - I've searched for existing GitHub issues
Steps to Reproduce
Option A: Reproduce by running the Example in this repository
Expected behavior
The run() async
function should run
Actual behavior
The run() async
function isn't run and the program exits with the help log.
benjiwolff
Metadata
Metadata
Assignees
Labels
bugSomething isn't workingSomething isn't working