About the ArgumentParser category

The ArgumentParser library makes it straightforward to parse command-line arguments in Swift.

15 Likes

Oh, wow. That’s really, really nice! :star_struck:

1 Like

Just converted a small utility of my own .. Sweet!
Had to drop some other TSCBasic command tool conveniences, but worth it.

This is fantastic, and I really appreciate the effort put into the package documentation.

Does it/will it support parsing normal string? It'd be especially nice to be able to create custom command line with this.

It does! You can pass an array of strings to any of the parsing methods or to main(), and it will parse that instead of the command-line arguments.

1 Like

Awesome stuff. Thank you for this!

1 Like
Terms of Service

Privacy Policy

Cookie Policy