How do I zip a .app file using terminal?

From the man page for ditto:

ditto -c -k --sequesterRsrc --keepParent src_directory archive.zip