Get CLI arguments for custom Mix task

I have a custom mix task that I want to use like mix foo.bar 123 where 123 is a command-line argument. How do I get that? I’m striking out on Google… Mix.Task — Mix v1.20.2 doesn’t seem to show anything other than prompt or yes?, which allow for an interactive interface, but what about command line arguments?

Thanks for pointers!