Articles

Writing yet another git prompt - testing

This post is from a series of posts about writing a small application in Rust to display information about a particular git repository.

I have finished at the MVP stage (part 1) of the prompt after adding the logging (part 2) so in this post I summarize the rest of features:

  • git branch status
  • git local status

Writing yet another git prompt - diagnostics

This post is from a series of posts about writing a small application in Rust to display information about a particular git repository.

Yesterday I finished with a reasonably good starting point and I thought that I would not talk about diagnostics, but after finding out how good rust tool-chain is at this, I wanted to share some thoughts.

Writing yet another git prompt - MVP

As an attempt to learn Rust and type-driven development using it I am going to show you how to write a small Rust CLI, which gives you status about the current repository. I wanted a small CLI to update my prompt for ion and zsh and I wanted it to be as fast as possible with the possibility to extend in case I want to display more information.