Add support for version constraints
Support version constraint in cli