jakeheis / SwiftCLI

A powerful framework for developing CLIs in Swift
MIT License
861 stars 72 forks source link

CLI without "command" (in version 5.0) #75

Closed bjo0 closed 5 years ago

bjo0 commented 5 years ago

I was reading the prior question about how to have a CLI with only one command that doesn't need to be passed, and saw this answer:

https://github.com/jakeheis/SwiftCLI/issues/55#issuecomment-381402192

However, my CLI object in 5.0 doesn't have a router property. Is there a new way to do this?

bjo0 commented 5 years ago

Found this; sorry: https://github.com/jakeheis/SwiftCLI#single-command-clis