I accidentally ran grift in the wrong folder and got this error message
2017/01/23 15:13:37 exit status 1
I thought this could be improved so I added some checks to cmd.newGrifter() to check that a directory named grifts exists. If there is not it advises the user to run grift init or switch to the right directory.
I accidentally ran
grift
in the wrong folder and got this error messageI thought this could be improved so I added some checks to
cmd.newGrifter()
to check that a directory namedgrifts
exists. If there is not it advises the user to rungrift init
or switch to the right directory.