/*
	Licensed Material - Property of IBM

	(C) Copyright 2015,2016 IBM Corp.

	Unless required by applicable law or agreed to in writing, software
	distributed under the License is distributed on an "AS IS" BASIS,
	WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
	See the License for the specific language governing permissions and
	limitations under the License.
*/


'use strict';

var path = require('path');

var reswAPI = require('./resw-api');
/**
 * @param file - glob file which contains the path to worklight.plist file
*/
function readClientResw(cwd, filename){
  return new reswAPI(path.join(cwd, filename));
}

module.exports = readClientResw;
