sassoftware / pyviyatools

Python command-line tools that call the SAS Viya REST APIs - for SAS administrators.
Apache License 2.0
39 stars 31 forks source link

Add a meaningful failure message when the CLI executable is not found. #212

Closed gerrynelson63 closed 9 months ago

gerrynelson63 commented 9 months ago

@dwstern or @tomstarr would you mind taking a look at this one as it impacts a number of tools.

For the tools the use the CLI the failure when it was not found in the location specified in application.properties was very cryptic. For those tools ,I added a function that checks that the CLI is in the specified location, and if it is not stops any further processing. Thanks!

tomstarr commented 9 months ago

Comments added throughout. I've not tested the code from the branch, but the changes look good to go, once my comments have been review.