rvesse / airline

Java annotation-based framework for parsing Git like command line structures with deep extensibility
https://rvesse.github.io/airline/
Apache License 2.0
128 stars 20 forks source link

Support File and Directory related restrictions #32

Closed rvesse closed 8 years ago

rvesse commented 8 years ago

It would be useful to have restrictions that allow you to enforce that an arguments file be a valid path to a file/directory e.g.

@File(mustExist = true, writable = false)

@Directory(mustExist = true, writable = true)

As a related point it would be useful to be able to have File be a valid type for options

rvesse commented 8 years ago

Basic implementation added, needs unit tests adding

rvesse commented 8 years ago

This is now completed