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

Look for hledger on start of execution #22

Closed
apauley opened this issue Apr 13, 2019 · 0 comments
Closed

Look for hledger on start of execution #22

apauley opened this issue Apr 13, 2019 · 0 comments
Labels
good first issue Good for newcomers

Comments

@apauley
Copy link
Owner

apauley commented Apr 13, 2019

Run hledger --version on start of execution to determine if hledger is in the path.

Exit with a helpful error message if hledger cannot be found.

The error message we currently see when running hledger-flow on a system that doesn't have hledger installed isn't very helpful:

hledger: createProcess: runInteractiveProcess: exec: does not exist (No such file or directory)

Keep the hledger version number around so that it can be used by other parts of the program.
It will be helpful for example to show this version number when printing out the program options (issue #11).

We probably require a specific version (or later) of hledger, although I don't know what the earliest version of hledger is that will work with hledger-flow.

@apauley apauley added the good first issue Good for newcomers label Apr 13, 2019
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
good first issue Good for newcomers
Projects
None yet
Development

No branches or pull requests

1 participant