This shouldn't change anything from the user's perspective but makes the code a bit more straightforward to read. Since we're already using HighLine, I thought I might as well use it everywhere. Notably this let's us get rid of the try-catch block when reading the password (as far as I can tell that's all it was there for), so it's worth looking at this commit disregarding white space changed git show -w because removing the surrounding block meant re-indenting the logic that was inside.
Since it's also easy to set colours with HighLine I had the success messages output in green.
This shouldn't change anything from the user's perspective but makes the code a bit more straightforward to read. Since we're already using HighLine, I thought I might as well use it everywhere. Notably this let's us get rid of the try-catch block when reading the password (as far as I can tell that's all it was there for), so it's worth looking at this commit disregarding white space changed
git show -w
because removing the surrounding block meant re-indenting the logic that was inside.Since it's also easy to set colours with HighLine I had the success messages output in green.
I tried it out and it looks good.