profile: added example using the flags package

A strawman to iterate from.
Then this could go to, as well as the option function along with the switch case