OSX command line System Profiler info

Are you developing an inventory system? How about automating your inventory? Open Audit doesn't currently support auditing of Apple OSX. Well, with this command line tool (which also outputs to XML), auditing a mac doesn't seem very difficult.
http://osxdaily.com/2007/04/23/get-system-information-from-the-command-line/