added WP-CLI support to init an existing DB with proper aliases for current permalinks