Make app a per-command flag, no global handling

An alternative to #38 that requires individual commands to handle the app flag on their own.