remove opts.app for simplifying cli logic.