in this series, we’ve been looking at how to write command line applications in php using macrame. in the previous installment, we covered the basic structure of macrame scripts, getting user input both as text and from interactive menus, parsing command-line arguments, and styling our output text.
the sample application we’re building is a script that fetches a list of a mastodon user’s followers and outputs the data in a nicely-formatted table. it looks like this:
