function _autocomplete(session, args, callback) {
	const last = args.pop();
	if (last.indexOf('-') !== 0) {
		if (args.length === 0) {
			return _autocompleteConfigKey(session, last, callback);
		}

		const secondLast = args.pop();
		if (!_.contains(argKeys, secondLast)) {
			return _autocompleteConfigKey(session, last, callback);
		}
	}

	return callback();
}
/*!
 * Execute the auto-complete functionality given the current command state
 */
Execute the auto-complete functionality given the current command state
Execute the auto - complete functionality given the current command state
function _autocomplete(session, args, callback) {
	const last = args.pop();
	if (last.indexOf('-') !== 0) {
		if (args.length === 0) {
			return _autocompleteConfigKey(session, last, callback);
		}
		const secondLast = args.pop();
		if (!_.contains(argKeys, secondLast)) {
			return _autocompleteConfigKey(session, last, callback);
		}
	}
	return callback();
}
function _autocomplete ( session , args , callback ) { const last = args . pop ( ) ; if ( last . indexOf ( '-' ) !== 0 ) { if ( args . length === 0 ) { return _autocompleteConfigKey ( session , last , callback ) ; } const secondLast = args . pop ( ) ; if ( ! _ . contains ( argKeys , secondLast ) ) { return _autocompleteConfigKey ( session , last , callback ) ; } } return callback ( ) ; }
Execute the auto-complete functionality given the current command state
Execute the auto - complete functionality given the current command state