eriq-augustine / psl

The PSL software from the LINQS lab.
Apache License 2.0
4 stars 7 forks source link

Introducing command line arguments support for all psl interfaces. #205

Closed shrestabs closed 5 years ago

shrestabs commented 5 years ago

The psl-examples and any program written with psl takes only command line arguments through maven infra(for groovy and java) or from run scripts(python). This changelist supports having command line arguments to run scripts of all interfaces. Currently this code has been tested only with simple acquaintances. Once changes for this is in place, will try on other examples and then raise a PR on psl-examples repo. Opening a discussion thread for reviewing changes on Launcher.java. There are many topics that needs clarification like name of the argument parsing file, helpformatter location, where to check if cli interface has passed all the required parameters needs to create a model etc. Those places marked with TODO and FIXME need special attention.