Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Implemented accepting parameters from CLI for search criteria #1

Open
wants to merge 4 commits into
base: master
Choose a base branch
from

Conversation

ruslK
Copy link

@ruslK ruslK commented Dec 19, 2018

with command protractor Configuration/conf.js -c='21136' -p=100 -P=500, app will update file SearchCriteria.json, where will replace city to 21136, minPrice (-p) to 100K, and maxPrice (-P) to 500K.
parameter -c (--city) required, other optional:

-c, --city city/state/zip code for serching [string] [required]
-t, --propertyType Property Type for serching [string] default: 'house+condo+townhouse+multifamily+land'
-p, --minPrice Minimum Price for serching [number] default: '0'
-P, --maxPrice Maximum Price for serching [number] default: '999K'
-b, --minBeds Minimum Beds for serching [number] default: '1'
-B, --maxBeds Maximum Beds for serching [number] default: '7'
-d, --maxDaysOnMarket Max Days On Market for serching [number] default: '30'
-g, --hasGarage Has-Garage for serching [string] default: 'has-garage'
-s, --status Status of Listing for serching [string] default: 'active'

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

1 participant