A macOS specific command to print the current status of login and background items. The output will be similar to, but more detailed than, what is shown in System Settings > General > Login Items:
sfltool dumpbtm